changeset 729:fedfb8ede1fd

Fix incorrect logic for USE_VFORK and calling arg_setup()
author Matt Johnston <matt@ucc.asn.au>
date Sun, 31 Mar 2013 23:29:03 +0800
parents f27058078d61
children 714b9106e335
files scp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scp.c	Sun Mar 31 23:15:35 2013 +0800
+++ b/scp.c	Sun Mar 31 23:29:03 2013 +0800
@@ -230,7 +230,7 @@
 		close(pin[0]);
 		close(pout[1]);
 
-#ifdef USE_VFORK
+#ifndef USE_VFORK
 		arg_setup(host, remuser, cmd);
 #endif