Browse Source

[fix] manage.sh return with actions exit status

Adam Tauber 9 years ago
parent
commit
dbf4f83231
1 changed files with 3 additions and 3 deletions
  1. 3 3
      manage.sh

+ 3 - 3
manage.sh

@@ -90,6 +90,6 @@ Commands
 "
 }
 
-[ "$(command -V "$ACTION" | grep ' function$')" != "" ] \
-    && $ACTION \
-    || help "action not found"
+[ "$(command -V "$ACTION" | grep ' function$')" = "" ] \
+    && help "action not found" \
+    || $ACTION