packages/net/rrs/patches/001-shell.patch
olli 03be4444dd rrs:
* Fix menu
 * Cleanup Makefile
 * Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 12:31:47 +00:00

14 lines
479 B
Diff

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) {