Fix run script to forward command line options

This commit is contained in:
Bolke de Bruin 2024-03-30 11:30:28 +01:00
parent 2e7080e674
commit 531af7d2d5

View file

@ -29,6 +29,6 @@ if [ -n "${RDPGW_SERVER__AUTHENTICATION}" ]; then
fi fi
# drop privileges and run the application # drop privileges and run the application
su -c /opt/rdpgw/rdpgw ${USER} & su -c /opt/rdpgw/rdpgw "${USER}" -- "$@" &
wait wait
exit $? exit $?