packages/net/rrs/patches/001-shell.patch

14 lines
479 B
Diff
Raw Normal View History

Index: rrs-1.70/rrs.c
===================================================================
--- rrs-1.70.orig/rrs.c 2007-07-30 14:30:24.000000000 +0200
+++ rrs-1.70/rrs.c 2007-07-30 14:30:24.000000000 +0200
@@ -920,7 +920,7 @@
close(slave_fd);
signal(SIGHUP, SIG_DFL);
signal(SIGCHLD, SIG_DFL);
- execl("/bin/sh", "", NULL);
+ execl("/bin/sh", "/bin/sh", NULL);
/* should not return */
exit(1);
} else if (pid > 0) {