summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2011-08-18 10:21:27 +0000
committerThomas Osterried <thomas@osterried.de>2011-08-18 10:21:27 +0000
commite669f13ba6ec43ef560373064b0494a80a0e569b (patch)
treedb7027724a27701d01c2300183957ebd4a9ca8b3
parent2f6426a5433b4cd9026a51db1787bca66fa88252 (diff)
Removed check for return value of setsid(). If it's already
process group leader, setsid() fails.
-rw-r--r--ax25/axspawn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ax25/axspawn.c b/ax25/axspawn.c
index a2b132b..5e6f8a1 100644
--- a/ax25/axspawn.c
+++ b/ax25/axspawn.c
@@ -1,6 +1,6 @@
/*
*
- * $Id: axspawn.c,v 1.25 2011/08/18 09:51:08 dl9sau Exp $
+ * $Id: axspawn.c,v 1.26 2011/08/18 10:21:27 dl9sau Exp $
*
* axspawn.c - run a program from ax25d.
*
@@ -1693,8 +1693,7 @@ again:
pututline(&ut_line);
endutent();
- if (setsid() == -1)
- exit(1);
+ setsid();
chargc = 0;
envc = 0;