style fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
41f7885f06
commit
a0fd4a789c
@ -14,7 +14,7 @@ const char *applet_name;
|
|||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
applet_name = argv[0];
|
applet_name = argv[0];
|
||||||
return APPLET_main(argc,argv);
|
return APPLET_main(argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
void bb_show_usage(void)
|
void bb_show_usage(void)
|
||||||
|
@ -1058,7 +1058,7 @@ static int iface_up(struct interface_defn_t *iface)
|
|||||||
|
|
||||||
static int iface_down(struct interface_defn_t *iface)
|
static int iface_down(struct interface_defn_t *iface)
|
||||||
{
|
{
|
||||||
if (!iface->method->down(iface,check)) return -1;
|
if (!iface->method->down(iface, check)) return -1;
|
||||||
set_environ(iface, "stop", "pre-down");
|
set_environ(iface, "stop", "pre-down");
|
||||||
if (!execute_all(iface, "down")) return 0;
|
if (!execute_all(iface, "down")) return 0;
|
||||||
if (!iface->method->down(iface, doit)) return 0;
|
if (!iface->method->down(iface, doit)) return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user