projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Preserve IPv6 scope_id in edges.
[tinc]
/
src
/
script.c
diff --git
a/src/script.c
b/src/script.c
index
4cea383
..
d4db889
100644
(file)
--- 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) {
#endif
bool execute_script(const char *name, char **envp) {
-#ifdef HAVE_SYSTEM
char scriptname[PATH_MAX];
char *command;
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;
}
logger(DEBUG_ALWAYS, LOG_ERR, "System call `%s' failed: %s", "system", strerror(errno));
return false;
}
-#endif
+
return true;
}
return true;
}