diff options
author | Eric Blake <ebb9@byu.net> | 2007-09-28 23:09:30 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-09-29 07:53:49 +0200 |
commit | 329982b723c4000b8371c54d51f5e2eaae71dc7a (patch) | |
tree | 26293b4105b61cf890f1a7b10c4fa82bef030845 | |
parent | 5b0e90427261d1614da012dbd164ad446f403b46 (diff) | |
download | coreutils-329982b723c4000b8371c54d51f5e2eaae71dc7a.tar.xz |
* src/groups.sh: Don't ignore first argument if later argument is --.
Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | src/groups.sh | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2007-09-28 Eric Blake <ebb9@byu.net> + + * src/groups.sh: Don't ignore first argument if later argument is --. + 2007-09-27 Jim Meyering <jim@meyering.net> Avoid spurious test failure when SELinux stats "selinux/class". diff --git a/src/groups.sh b/src/groups.sh index 54ae918c7..7afe52e71 100755 --- a/src/groups.sh +++ b/src/groups.sh @@ -52,6 +52,8 @@ do -*) echo "$0: invalid option: $arg" >&2 exit 1 ;; + *) + break ;; esac done |