Fix incorrect logic for USE_VFORK and calling arg_setup()

This commit is contained in:
Matt Johnston 2013-03-31 23:29:03 +08:00
parent f6b304250b
commit 5abe22d1a5

2
scp.c
View File

@ -230,7 +230,7 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc)
close(pin[0]);
close(pout[1]);
#ifdef USE_VFORK
#ifndef USE_VFORK
arg_setup(host, remuser, cmd);
#endif