X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=slip.c;h=e555f471218b710b12ecbe35a075ec0660533cd1;hb=8c57614849a9a071f5ff8e3010d56e42abdc4bd1;hp=4c0cac12ee635685ea9e7a1085cd884767cb2d51;hpb=a0fac2f1c903f765c8b8596f1ec93beb52b72c7a;p=secnet.git diff --git a/slip.c b/slip.c index 4c0cac1..e555f47 100644 --- a/slip.c +++ b/slip.c @@ -273,8 +273,6 @@ static void userv_entry(void *sst) 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);