From 25bcdad878eb7349d19ea877fdcc058d4c6b2242 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Fri, 15 Apr 2016 11:38:56 +0200 Subject: [PATCH] Don't use HAVE_SYSTEM, the autoconf check was removed. --- src/script.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/script.c b/src/script.c index 4cea3837..d4db8894 100644 --- a/src/script.c +++ b/src/script.c @@ -64,7 +64,6 @@ static void unputenv(const char *p) {} #endif bool execute_script(const char *name, char **envp) { -#ifdef HAVE_SYSTEM char scriptname[PATH_MAX]; char *command; @@ -146,6 +145,6 @@ bool execute_script(const char *name, char **envp) { logger(DEBUG_ALWAYS, LOG_ERR, "System call `%s' failed: %s", "system", strerror(errno)); return false; } -#endif + return true; } -- 2.20.1