diff options
author | Rob Landley | 2006-09-11 00:34:01 +0000 |
---|---|---|
committer | Rob Landley | 2006-09-11 00:34:01 +0000 |
commit | 69674941ddf3a522772d4d9709b302e80bc6719e (patch) | |
tree | 3a748dea99473ad21cf5f7ca6a4cba013a8673ca /loginutils | |
parent | 30772946156dc49d04389b61bcd828ed352a00cc (diff) | |
download | busybox-69674941ddf3a522772d4d9709b302e80bc6719e.zip busybox-69674941ddf3a522772d4d9709b302e80bc6719e.tar.gz |
Error reporting fix for sulogin, plus remove help entries for options we never
implemented. (Plus a bit more of bbsh leaking in from my tree, but it
shouldn't hurt anything and I'm lazy...)
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/sulogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index fef3760..a2238d4 100644 --- a/loginutils/sulogin.c +++ b/loginutils/sulogin.c @@ -55,8 +55,8 @@ int sulogin_main(int argc, char **argv) if (argv[optind]) { close(0); close(1); - close(2); dup(xopen(argv[optind], O_RDWR)); + close(2); dup(0); } |