* src/su.c: Suspend su with the signal which stopped the child
instead of always SIGSTOP.
+2013-08-21 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/su.c: Suspend su with the signal which stopped the child
+ instead of always SIGSTOP.
+
2013-08-20 Nicolas François <nicolas.francois@centraliens.net>
* src/su.c: call handle_session() before changing the UID so that
&& (0 != WIFSTOPPED (status))) {
/* The child (shell) was suspended.
* Suspend su. */
- kill (getpid (), SIGSTOP);
+ kill (getpid (), WSTOPSIG (status));
/* wake child when resumed */
kill (pid, SIGCONT);
stop = false;