diff --git a/entrypoint.sh b/entrypoint.sh index eec6147..e3b3f78 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,7 +4,7 @@ # and re-run this script as appuser. if [[ $(id -u) -eq 0 ]]; then chown -R appuser:appuser /store /config - exec su -c "$0" appuser + exec su appuser -- "$0" "$@" fi # Load Default recorder.conf if not available