提交 4c15b851 编写于 作者: S sun_fan

init: fix code style

Signed-off-by: Nsun_fan <sun_fan1@hoperun.com>
上级 b87ff824
......@@ -303,12 +303,11 @@ static void DoIfup(const char *cmdContent, int maxArg)
INIT_LOGE("DoIfup failed to do ioctl with command \"SIOCSIFFLAGS\", err = %d", errno);
}
if (fd > 0) {
close(fd);
fd = -1;
}
close(fd);
fd = -1;
out:
FreeCmd(&ctx);
fd = -1;
return;
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册