From 329982b723c4000b8371c54d51f5e2eaae71dc7a Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 28 Sep 2007 23:09:30 +0000 Subject: [PATCH] * src/groups.sh: Don't ignore first argument if later argument is --. Signed-off-by: Eric Blake --- ChangeLog | 4 ++++ src/groups.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b63e919ac..0d98141ea 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-28 Eric Blake + + * src/groups.sh: Don't ignore first argument if later argument is --. + 2007-09-27 Jim Meyering 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