From cd6859f9bd4767dcfb96bab57b55c2f6edef8d39 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 09:41:10 -0500 Subject: run_cmd(): Switch to non-exiting error() --- (limited to 'src') diff --git a/src/cmd.sh b/src/cmd.sh index 82c5ce5..9afad7c 100644 --- a/src/cmd.sh +++ b/src/cmd.sh @@ -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 } -- cgit v0.9.1