Details
Description
When RUN_AS_USER is set the wrapper script will su to that user and then rerun the script. The issue is the parent script doesn't capture the exit code of the su child process but instead always returns 0.
When RUN_AS_USER is set the wrapper script will su to that user and then rerun the script. The issue is the parent script doesn't capture the exit code of the su child process but instead always returns 0.