aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-03-14 02:05:58 -0700
committerelijah <elijah@riseup.net>2013-03-14 02:05:58 -0700
commita76749a837a2552b72be34d91330f8983f740860 (patch)
treeae392ced56be7dc35b22cbe37713b32deabdf169 /bin
parent2fd87063c0f48b67cb53bba6d52d82a091be6a7b (diff)
downloadleap_cli-a76749a837a2552b72be34d91330f8983f740860.tar.gz
leap_cli-a76749a837a2552b72be34d91330f8983f740860.tar.bz2
added exit codes for puppet apply
Diffstat (limited to 'bin')
-rwxr-xr-xbin/leap3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/leap b/bin/leap
index 683959a..5dbf046 100755
--- a/bin/leap
+++ b/bin/leap
@@ -76,5 +76,6 @@ module LeapCli::Commands
# load commands and run
commands_from('leap_cli/commands')
ORIGINAL_ARGV = ARGV.dup
- exit run(ARGV)
+ exit_status = run(ARGV)
+ exit(LeapCli::Util.exit_status || exit_status)
end