Import Upstream version 1.0.8

This commit is contained in:
Guus Sliepen 2019-08-26 13:44:38 +02:00
parent 77e8278660
commit 6276954b04
21 changed files with 390 additions and 245 deletions

View file

@ -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 1452 2006-04-26 13:52:58Z guus $
$Id: process.c 1499 2007-02-14 09:21:34Z guus $
*/
#include "system.h"
@ -379,8 +379,10 @@ bool execute_script(const char *name, char **envp)
/* First check if there is a script */
if(stat(scriptname + 1, &s))
if(stat(scriptname + 1, &s)) {
free(scriptname);
return true;
}
ifdebug(STATUS) logger(LOG_INFO, _("Executing script %s"), name);