]> git.ipfire.org Git - thirdparty/krb5.git/commit
Properly mirror child exit status in ksu 1309/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 28 Jul 2023 22:07:34 +0000 (18:07 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 3 Oct 2023 16:42:01 +0000 (12:42 -0400)
commit03c7df6fc683c68975db46c7afaa24f1a9a05fae
treee8df21b77c6a9ad01b8702a3b0e1fdfe0180453b
parent036f861b657f63852732a4c19d84a4f18a3938ec
Properly mirror child exit status in ksu

ksu attempts to exit with the same status as its child process, but
does not do so correctly.  Use WEXITSTATUS() to extract the exit code.
Reported by Todd Lubin.

ticket: 8618
src/clients/ksu/main.c
src/clients/ksu/t_ksu.py