Extract compile_mode command status with WEXITSTATUS.
authorcheloha <cheloha@openbsd.org>
Tue, 9 Jan 2018 17:59:29 +0000 (17:59 +0000)
committercheloha <cheloha@openbsd.org>
Tue, 9 Jan 2018 17:59:29 +0000 (17:59 +0000)
commite1513c5645bf5ba9aebe17c48bc178e0b6c01282
tree930770d8ab1baf03ef1afd2fc563aae9cbe9b4b0
parente839bdc73a1f7fa16bfcc2f44438301df154a3e2
Extract compile_mode command status with WEXITSTATUS.

Also tell the user if the parent shell spawned by popen(3)
was killed by a signal.

Discussed with jca@.

ok millert@ jca@ deraadt@
usr.bin/mg/grep.c