From 9ac3a0c39e9fc3b0782f10c05fe19b9739ec50bd Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 2 Nov 2014 17:23:10 +0100 Subject: [PATCH] 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. --- sys/src/cmd/aux/wpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: