wpa: fork note group when going to background (thanks jpm)

bug: as jpm pointed out, when we run aux/wpa in rio window
and delete the window, aux/wpa was killed as it shared the
note group of the window.

fix: fork the notegroup.
This commit is contained in:
cinap_lenrek 2014-11-02 17:23:10 +01:00
parent bb95002c2d
commit 9ac3a0c39e

View file

@ -648,7 +648,7 @@ Connect:
if(!background){
background = 1;
if(!debug){
switch(rfork(RFFDG|RFREND|RFPROC|RFNOWAIT)){
switch(rfork(RFNOTEG|RFREND|RFPROC|RFNOWAIT)){
default:
exits(nil);
case -1: