summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-11-02 17:23:10 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2014-11-02 17:23:10 +0100
commit9ac3a0c39e9fc3b0782f10c05fe19b9739ec50bd (patch)
treef6cf4c9e0667928fed89d2f68278086a24f062dc /sys/src/cmd/aux
parentbb95002c2d47ab00764a183c200c7fd9ecb3c12a (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')
-rw-r--r--sys/src/cmd/aux/wpa.c2
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: