summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.sh4
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