From 3fac031790b2671d98b2f6fa4e01cef9da07a92a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 17 Jan 2016 09:39:28 -0500 Subject: main(): Return run_cmd() exit status fini_vardata() was shoved in between run_cmd() and return. --- diff --git a/src/main.sh b/src/main.sh index e034104..b77a2f5 100644 --- a/src/main.sh +++ b/src/main.sh @@ -40,6 +40,7 @@ fi main() { local cmd= + local es= load_locale @@ -74,10 +75,11 @@ main() ;; esac run_cmd "${cmd}" "${@}" + es=${?} fini_vardata - return ${?} + return ${es} } check_uid() -- cgit v0.9.1