From: Guus Sliepen Date: Fri, 15 Apr 2016 09:38:56 +0000 (+0200) Subject: Don't use HAVE_SYSTEM, the autoconf check was removed. X-Git-Tag: release-1.1pre12~27 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=25bcdad878eb7349d19ea877fdcc058d4c6b2242;p=tinc Don't use HAVE_SYSTEM, the autoconf check was removed. --- 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; }