From 40e373f70e131bb52f8b19dca36a5b2b8ff74955 Mon Sep 17 00:00:00 2001 From: Ben Peddell Date: Tue, 17 Sep 2019 21:29:09 +1000 Subject: [PATCH] Pass exit status when run as root --- tools/arkmanager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/arkmanager b/tools/arkmanager index 62dde63..6ecfbdf 100755 --- a/tools/arkmanager +++ b/tools/arkmanager @@ -193,7 +193,7 @@ runAsRoot(){ elif [ "$1" == "uninstall-tools" ]; then doUninstallTools else - runuser "$steamcmd_user" -s "$steamcmd_user_shellexec" -c "$(printf "%q" "$0")$(printf " %q" "$@")" + exec runuser "$steamcmd_user" -s "$steamcmd_user_shellexec" -c "$(printf "%q" "$0")$(printf " %q" "$@")" exit 1 fi }