diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/halt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/init/halt.c b/init/halt.c index 572d751b0..29e60657b 100644 --- a/init/halt.c +++ b/init/halt.c | |||
@@ -113,12 +113,11 @@ int halt_main(int argc UNUSED_PARAM, char **argv) | |||
113 | continue; | 113 | continue; |
114 | 114 | ||
115 | /* Parse and handle arguments */ | 115 | /* Parse and handle arguments */ |
116 | opt_complementary = "d+"; /* -d N */ | ||
117 | /* We support -w even if !ENABLE_FEATURE_WTMP, | 116 | /* We support -w even if !ENABLE_FEATURE_WTMP, |
118 | * in order to not break scripts. | 117 | * in order to not break scripts. |
119 | * -i (shut down network interfaces) is ignored. | 118 | * -i (shut down network interfaces) is ignored. |
120 | */ | 119 | */ |
121 | flags = getopt32(argv, "d:nfwi", &delay); | 120 | flags = getopt32(argv, "d:+nfwi", &delay); |
122 | 121 | ||
123 | sleep(delay); | 122 | sleep(delay); |
124 | 123 | ||