chiark
/
gitweb
/
~ianmdlvl
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
polypath: Reorganise to break up ifaddr handling
[secnet.git]
/
slip.c
diff --git
a/slip.c
b/slip.c
index 4c0cac12ee635685ea9e7a1085cd884767cb2d51..e555f471218b710b12ecbe35a075ec0660533cd1 100644
(file)
--- a/
slip.c
+++ b/
slip.c
@@
-273,8
+273,6
@@
static void userv_entry(void *sst)
dup2(st->out,1);
setsid();
dup2(st->out,1);
setsid();
- /* XXX We really should strdup() all of argv[] but because we'll just
- exit anyway if execvp() fails it doesn't seem worth bothering. */
execvp(st->path,(char *const*)st->argv);
perror("userv-entry: execvp()");
exit(1);
execvp(st->path,(char *const*)st->argv);
perror("userv-entry: execvp()");
exit(1);