]> git.ipfire.org Git - ipfire-2.x.git/commit
misc-progs: setuid: Return exit code from called process
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 May 2023 09:08:41 +0000 (09:08 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Jun 2023 09:39:28 +0000 (09:39 +0000)
commited1a24686c9a9255290906a8c7bd1cedd7934cdc
tree5f9174d248e1a8ccf923d30141bcf49401c80422
parentdb9c7fb8260c28e4eec30ee0386e8f5945ad10fc
misc-progs: setuid: Return exit code from called process

This patch will return the exit code from the called process which has
not been done before. This made it more difficult to catch any
unsuccessful calls from the web UI.

Partly Fixes: #12863
Tested-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/misc-progs/setuid.c