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