fix invocation without subcommands to call usage function and exit 1 explicitlly
[monkeysphere.git] / src / monkeysphere-authentication
index 7870c0f0ada9b13e5dfd9777a2c09e695f50d181..265ca32957caa4f2ac6d5d12b52cdd7c458423d1 100755 (executable)
@@ -151,7 +151,7 @@ export LOG_PREFIX
 
 # get subcommand
 COMMAND="$1"
-[ "$COMMAND" ] || $PGRM help
+[ "$COMMAND" ] || (usage; exit 1)
 shift
 
 case $COMMAND in