13 lines
500 B
Plaintext
13 lines
500 B
Plaintext
$OpenBSD: patch-src_common_outbound_c,v 1.1 2003/10/26 02:08:51 pvalchev Exp $
|
|
--- src/common/outbound.c.orig 2003-10-25 13:03:33.000000000 -0600
|
|
+++ src/common/outbound.c 2003-10-25 13:03:49.000000000 -0600
|
|
@@ -1393,7 +1393,7 @@ cmd_exec (struct session *sess, char *tb
|
|
/* Now we call /bin/sh to run our cmd ; made it more friendly -DC1 */
|
|
if (shell)
|
|
{
|
|
- execl ("/bin/sh", "sh", "-c", cmd, 0);
|
|
+ execl ("/bin/sh", "sh", "-c", cmd, (void *)NULL);
|
|
} else
|
|
{
|
|
char **argv;
|