NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/54743 (sh(1) exits with code 127 by wait after trap)



The following reply was made to PR bin/54743; it has been noted by GNATS.

From: iquiw <iku.iwasa%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/54743 (sh(1) exits with code 127 by wait after trap)
Date: Sun, 8 Dec 2019 11:14:06 +0900

 > And it expects exit code provided by "exit" in "trap".
 > That is, exit code 0 if "sleep" is killed by "USR1" signal. And exit
 > code 1 if "sleep" is killed by "USR2" signal.
 
 Ah, the above is wrong. Not "sleep", but "sh" is killed.
 


Home | Main Index | Thread Index | Old Index