diff options
author | Jim Meyering <jim@meyering.net> | 2003-05-10 13:42:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-05-10 13:42:48 +0000 |
commit | f4c0d12cb0c306fc4140321425cc9a786a202fa5 (patch) | |
tree | c8e0eeb733d19796efa89b726e28532d52091bdc /src | |
parent | 6c1a29f06f829f2835a35774b3d93a2d783a66ec (diff) | |
download | coreutils-f4c0d12cb0c306fc4140321425cc9a786a202fa5.tar.xz |
(main): Handle argc < optind.
Diffstat (limited to 'src')
-rw-r--r-- | src/who.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -747,6 +747,7 @@ main (int argc, char **argv) switch (argc - optind) { + case -1: case 0: /* who */ who (UTMP_FILE); break; |