Don't use HAVE_SYSTEM, the autoconf check was removed.
This commit is contained in:
parent
cd5f222cc4
commit
25bcdad878
1 changed files with 1 additions and 2 deletions
|
@ -64,7 +64,6 @@ static void unputenv(const char *p) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool execute_script(const char *name, char **envp) {
|
bool execute_script(const char *name, char **envp) {
|
||||||
#ifdef HAVE_SYSTEM
|
|
||||||
char scriptname[PATH_MAX];
|
char scriptname[PATH_MAX];
|
||||||
char *command;
|
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));
|
logger(DEBUG_ALWAYS, LOG_ERR, "System call `%s' failed: %s", "system", strerror(errno));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue