summaryrefslogtreecommitdiffstats
path: root/login-utils/chsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'login-utils/chsh.c')
-rw-r--r--login-utils/chsh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/login-utils/chsh.c b/login-utils/chsh.c
index 3bea971cd..10b0bdcda 100644
--- a/login-utils/chsh.c
+++ b/login-utils/chsh.c
@@ -235,8 +235,6 @@ static void parse_argv(int argc, char **argv, struct sinfo *pinfo)
print_shells();
exit(EXIT_SUCCESS);
case 's':
- if (!optarg)
- usage(stderr);
pinfo->shell = optarg;
break;
default: