FNOHUP
|| (Flag(FLOGIN) && !Flag(FNOHUP)
if (Flag(FLOGIN) && !Flag(FNOHUP) && procpid == kshpid
Flag(FNOHUP) = 1;