branch Attitude Adjustment packages
[12.09/packages.git] / net / rrs / patches / 001-shell.patch
1 Index: rrs-1.70/rrs.c
2 ===================================================================
3 --- rrs-1.70.orig/rrs.c 2007-07-30 14:30:24.000000000 +0200
4 +++ rrs-1.70/rrs.c      2007-07-30 14:30:24.000000000 +0200
5 @@ -920,7 +920,7 @@
6          close(slave_fd);
7          signal(SIGHUP, SIG_DFL);
8          signal(SIGCHLD, SIG_DFL);
9 -        execl("/bin/sh", "", NULL);
10 +        execl("/bin/sh", "/bin/sh", NULL);
11          /* should not return */
12          exit(1);
13      } else if (pid > 0) {