Commit 6b0824c9 authored by Jan Djärv's avatar Jan Djärv

(mkdir, rmdir): Also check synch_process_termsig.

parent b0c681e2
......@@ -3741,7 +3741,8 @@ mkdir (dpath, dmode)
wait_for_termination (cpid);
}
if (synch_process_death != 0 || synch_process_retcode != 0)
if (synch_process_death != 0 || synch_process_retcode != 0
|| synch_process_termsig != 0)
{
errno = EIO; /* We don't know why, but */
return -1; /* /bin/mkdir failed */
......@@ -3787,7 +3788,8 @@ rmdir (dpath)
wait_for_termination (cpid);
}
if (synch_process_death != 0 || synch_process_retcode != 0)
if (synch_process_death != 0 || synch_process_retcode != 0
|| synch_process_termsig != 0)
{
errno = EIO; /* We don't know why, but */
return -1; /* /bin/rmdir failed */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment