Ver código fonte

[fix] manage.sh return with actions exit status

Adam Tauber 9 anos atrás
pai
commit
dbf4f83231
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3
    3
      manage.sh

+ 3
- 3
manage.sh Ver arquivo

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