Permalink
Browse files

Merge branch 'master' into feature/requirements_exec

  • Loading branch information...
2 parents cb0d48c + 9dce772 commit d0da36e3f02d4bb97e22c6093a1c103204d8bbae @mpapis mpapis committed Jan 18, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 scripts/group
View
10 scripts/group
@@ -49,23 +49,23 @@ Usage:
"
}
-(( UID == 0 )) ||
+action="$1"
+shift
+
+(( UID == 0 )) || [[ "${action:-help}" == "help" ]] ||
{
rvm_log "rvm group must be run as root."
exit 1
}
-action="$1"
-shift
-
true "${rvm_group_name:=rvm}"
case "$action" in
add|create|help)
group_$action "$@"
;;
*)
- get_help "$@"
+ group_help "$@"
false
;;
esac

0 comments on commit d0da36e

Please sign in to comment.