diff options
author | P. J. McDermott <pj@pehjota.net> | 2016-01-17 09:41:10 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2016-01-17 09:41:10 (EST) |
commit | cd6859f9bd4767dcfb96bab57b55c2f6edef8d39 (patch) | |
tree | f2e24b9a4505a4d30efbaa14c5f597471be47fd3 | |
parent | 3fac031790b2671d98b2f6fa4e01cef9da07a92a (diff) |
run_cmd(): Switch to non-exiting error()
-rw-r--r-- | src/cmd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -117,6 +117,7 @@ run_cmd() running_cmd='' running_cmd_clean='' else - error 1 "$(get_msg 'cmd_not_found')" "${cmd}" + error "$(get_msg 'cmd_not_found')" "${cmd}" + return 1 fi } |