summaryrefslogtreecommitdiff
path: root/manage.sh
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-03-17 21:43:31 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-03-17 21:43:31 +0100
commitdbf4f83231b89a2326ba2b62bceacaf5db76d4ca (patch)
tree121b8e0fba3896551bdb42a561b98f2cd96a09c0 /manage.sh
parent1d5afa4ccc54cb8b7dd8aa9cce8dbe729c6e6768 (diff)
[fix] manage.sh return with actions exit status
Diffstat (limited to 'manage.sh')
-rwxr-xr-xmanage.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/manage.sh b/manage.sh
index 3e1f5942..0a21f0eb 100755
--- 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