projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Put Subnet weight in a separate environment variable.
[tinc]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index
d07ce7d
..
f03f12a
100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-380,12
+380,14
@@
bool execute_script(const char *name, char **envp)
scriptname[len - 1] = '\0';
scriptname[len - 1] = '\0';
+#ifndef HAVE_TUNEMU
/* First check if there is a script */
if(stat(scriptname + 1, &s)) {
free(scriptname);
return true;
}
/* First check if there is a script */
if(stat(scriptname + 1, &s)) {
free(scriptname);
return true;
}
+#endif
ifdebug(STATUS) logger(LOG_INFO, _("Executing script %s"), name);
ifdebug(STATUS) logger(LOG_INFO, _("Executing script %s"), name);