summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd.sh3
1 files changed, 2 insertions, 1 deletions
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
}