summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index dca5505d0..1e216be7d 100644
--- a/sftp.c
+++ b/sftp.c
@@ -16,7 +16,7 @@
16 16
17#include "includes.h" 17#include "includes.h"
18 18
19RCSID("$OpenBSD: sftp.c,v 1.48 2004/06/03 12:22:20 pedro Exp $"); 19RCSID("$OpenBSD: sftp.c,v 1.49 2004/06/18 06:13:25 dtucker Exp $");
20 20
21#include "buffer.h" 21#include "buffer.h"
22#include "xmalloc.h" 22#include "xmalloc.h"
@@ -1279,7 +1279,7 @@ connect_to_server(char *path, char **args, int *in, int *out)
1279 * kill it too 1279 * kill it too
1280 */ 1280 */
1281 signal(SIGINT, SIG_IGN); 1281 signal(SIGINT, SIG_IGN);
1282 execv(path, args); 1282 execvp(path, args);
1283 fprintf(stderr, "exec: %s: %s\n", path, strerror(errno)); 1283 fprintf(stderr, "exec: %s: %s\n", path, strerror(errno));
1284 _exit(1); 1284 _exit(1);
1285 } 1285 }