commit: dbf4f83231b89a2326ba2b62bceacaf5db76d4ca
parent: 1d5afa4ccc54cb8b7dd8aa9cce8dbe729c6e6768
Author: Adam Tauber <asciimoo@gmail.com>
Date: Thu, 17 Mar 2016 21:43:31 +0100
[fix] manage.sh return with actions exit status
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/manage.sh b/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