ubase

suckless linux base utils
git clone git://git.2f30.org/ubase
Log | Files | Refs | README | LICENSE

commit 10c8b71fd235be78cd483864e32d51aa4c225dae
parent ce59961f192a766349187fabfd332b97d2ae146d
Author: sin <sin@2f30.org>
Date:   Sun,  6 Jul 2014 21:35:35 +0100

Kick off respawn in its own session

Diffstat:
Mrespawn.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/respawn.c b/respawn.c @@ -58,6 +58,8 @@ main(int argc, char *argv[]) if (fifo && delay > 0) usage(); + setsid(); + signal(SIGTERM, sigterm); if (fifo) {