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:
parent
bb95002c2d
commit
9ac3a0c39e
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue