From 69674941ddf3a522772d4d9709b302e80bc6719e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 11 Sep 2006 00:34:01 +0000 Subject: 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...) --- loginutils/sulogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loginutils') diff --git a/loginutils/sulogin.c b/loginutils/sulogin.c index fef3760e9..a2238d49d 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); } -- cgit v1.2.3