X-Git-Url: https://git.librecmc.org/?p=oweals%2Ftinc.git;a=blobdiff_plain;f=src%2Fprocess.c;h=44ecf308ca4201eb3801832b5c1eb505b722f86b;hp=3071b02a5750d8ba54daf52695677d14fff57d0c;hb=2531ff59b73af3a6de85fdc33d744758a6ab9449;hpb=1fe56637874a1e93882a2ca6ffb8c50a773f80e4 diff --git a/src/process.c b/src/process.c index 3071b02..44ecf30 100644 --- a/src/process.c +++ b/src/process.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: process.c,v 1.1.2.59 2003/07/30 21:52:41 guus Exp $ + $Id: process.c,v 1.1.2.60 2003/07/31 14:24:19 guus Exp $ */ #include "system.h" @@ -223,7 +223,7 @@ static void _execute_script(const char *scriptname, char **envp) /* Close all file descriptors */ fcloseall(); - execl(scriptname, NULL); + execl(scriptname, scriptname, NULL); /* No return on success */ save_errno = errno;