tfactotum: avoid notes after backgrounding - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 5bc64a9422e798b202f04c6b6e6d41a09b73c19a
 (DIR) parent c77d5b8e1cab6c80b3b677cb0912110086a8fa12
 (HTM) Author: Russ Cox <rsc@swtch.com>
       Date:   Mon, 22 Feb 2010 16:56:44 -0800
       
       factotum: avoid notes after backgrounding
       
       R=rsc
       http://codereview.appspot.com/220043
       
       Diffstat:
         M src/cmd/auth/factotum/main.c        |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/auth/factotum/main.c b/src/cmd/auth/factotum/main.c
       t@@ -26,6 +26,8 @@ threadmain(int argc, char *argv[])
                char *mtpt;
                char err[ERRMAX];
        
       +        rfork(RFNOTEG);
       +
        /*        mtpt = "/mnt"; */
                mtpt = nil;
                owner = getuser();