]> Zhao Yanbai Git Server - minix.git/commitdiff
RS: fix for fix
authorBen Gras <ben@minix3.org>
Thu, 22 Nov 2012 12:52:50 +0000 (13:52 +0100)
committerBen Gras <ben@minix3.org>
Thu, 22 Nov 2012 15:25:07 +0000 (16:25 +0100)
servers/rs/manager.c

index 58d437ea703d69887ab5484030999289f3673149..9b4d69030fba5e2abfd19353eaa688631d9d2dd9 100644 (file)
@@ -1111,7 +1111,7 @@ static int run_script(struct rproc *rp)
        case -1:
                return kill_service(rp, "unable to fork script", errno);
        case 0:
-               execle(_PATH_BSHELL, rp->r_script, rpub->label, reason,
+               execle(_PATH_BSHELL, "sh", rp->r_script, rpub->label, reason,
                        incarnation_str, (char*) NULL, envp);
                printf("RS: run_script: execl '%s' failed: %s\n",
                        rp->r_script, strerror(errno));