summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-03-31 23:29:03 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-03-31 23:29:03 +0800
commit5abe22d1a514d1f98f88927a23701b51bd7c134e (patch)
tree1a25302a5cd025c207c34e07e724acf9e2851c3b
parentf6b304250bda59f7dcc56ffa7c4c5f482e66d32f (diff)
Fix incorrect logic for USE_VFORK and calling arg_setup()
-rw-r--r--scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 8715726..114d095 100644
--- a/scp.c
+++ b/scp.c
@@ -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