Sfoglia il codice sorgente

[fix] manage.sh return with actions exit status

Adam Tauber 9 anni fa
parent
commit
dbf4f83231
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3
    3
      manage.sh

+ 3
- 3
manage.sh Vedi File

@@ -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