diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-11-02 17:23:10 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-11-02 17:23:10 +0100 |
commit | 9ac3a0c39e9fc3b0782f10c05fe19b9739ec50bd (patch) | |
tree | f6cf4c9e0667928fed89d2f68278086a24f062dc /sys/src/cmd/aux/wpa.c | |
parent | bb95002c2d47ab00764a183c200c7fd9ecb3c12a (diff) |
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.
Diffstat (limited to 'sys/src/cmd/aux/wpa.c')
-rw-r--r-- | sys/src/cmd/aux/wpa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/aux/wpa.c b/sys/src/cmd/aux/wpa.c index 4c532e523..e795c050b 100644 --- a/sys/src/cmd/aux/wpa.c +++ b/sys/src/cmd/aux/wpa.c @@ -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: |