summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-07-19 14:08:01 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-07-19 14:08:01 +0000
commit16aa1556c4355c534bf82075093d6df4d4d0cd6b (patch)
treed5bcda2093857860a1446a8ea3f777e21bbb6132
parent87b7b2046197d9edeb5cfa3a7228b98d18e3903d (diff)
downloaddropbear-16aa1556c4355c534bf82075093d6df4d4d0cd6b.tar.gz
uClinux ifdef was accidentally inverted
-rw-r--r--scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 9e1ca17..64245d5 100644
--- a/scp.c
+++ b/scp.c
@@ -200,7 +200,7 @@ do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout, int argc)
#endif /* __uClinux__ */
/* Fork a child to execute the command on the remote host using ssh. */
-#ifndef __uClinux__
+#ifdef __uClinux__
do_cmd_pid = vfork();
#else
do_cmd_pid = fork();