Merge pull request #1052 from Dominic1DL/master

add full Path to runuser
This commit is contained in:
Ben Peddell 2019-12-28 12:44:27 +11:00 committed by GitHub
commit 808a291767
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,7 +193,7 @@ runAsRoot(){
elif [ "$1" == "uninstall-tools" ]; then
doUninstallTools
else
exec runuser "$steamcmd_user" -s "$steamcmd_user_shellexec" -c "$(printf "%q" "$0")$(printf " %q" "$@")"
exec /sbin/runuser "$steamcmd_user" -s "$steamcmd_user_shellexec" -c "$(printf "%q" "$0")$(printf " %q" "$@")"
exit 1
fi
}