Woops!
This commit is contained in:
parent
1fe5663787
commit
2531ff59b7
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue