projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't stat() on iPhone/iPod.
[oweals/tinc.git]
/
src
/
process.c
diff --git
a/src/process.c
b/src/process.c
index d07ce7db1acd608c2e75400e6f6126407c09ac54..f03f12a43f08865daa54a3a145f111aa51b5d339 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';
+#ifndef HAVE_TUNEMU
/* 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);