Parcourir la source

[fix] manage.sh return with actions exit status

Adam Tauber il y a 9 ans
Parent
révision
dbf4f83231
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      manage.sh

+ 3
- 3
manage.sh Voir le fichier

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