packages/net/rrs/patches/001-shell.patch
pavlov 14c1a8db5f patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-05 01:34:12 +00:00

13 lines
440 B
Diff

diff -ruN rrs-1.70-old/rrs.c rrs-1.70-new/rrs.c
--- rrs-1.70-old/rrs.c 2004-05-30 02:32:03.000000000 +0200
+++ rrs-1.70-new/rrs.c 2005-10-12 12:41: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) {