projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5f222
)
Don't use HAVE_SYSTEM, the autoconf check was removed.
author
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 15 Apr 2016 09:38:56 +0000
(11:38 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Fri, 15 Apr 2016 09:38:56 +0000
(11:38 +0200)
src/script.c
patch
|
blob
|
history
diff --git
a/src/script.c
b/src/script.c
index 4cea3837900fe93322bce9bee0dc97b5efe3e60d..d4db8894de860b0b5a40010d7ccb5a05409c2430 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) {
-#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;
}