diff options
-rw-r--r-- | src/main.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.sh b/src/main.sh index bc807cc..0f850e0 100644 --- a/src/main.sh +++ b/src/main.sh @@ -93,8 +93,8 @@ main() fi ;; esac - run_cmd "${cmd}" "${@}" - es=${?} + es=0 + run_cmd "${cmd}" "${@}" || es=${?} if ! fini_vardata; then return 2 |