X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprocess.c;fp=src%2Fprocess.c;h=b76e81cd3430d66161b66e2a6432d1407ace0b3d;hp=262b092c165404dd2e78f8e586a6661fac611b8a;hb=2a3e343c7228d5f07176e4b404d895c7adc5bdf9;hpb=d07e8f96387f2a50f2e4f9eaf40e9034f8a5435f diff --git a/src/process.c b/src/process.c index 262b092c..b76e81cd 100644 --- a/src/process.c +++ b/src/process.c @@ -370,14 +370,12 @@ bool execute_script(const char *name, char **envp) { scriptname[len - 1] = '\0'; -#ifndef HAVE_TUNEMU /* First check if there is a script */ if(access(scriptname + 1, F_OK)) { free(scriptname); return true; } -#endif // Custom scripts interpreter if(get_config_string(lookup_config(config_tree, "ScriptsInterpreter"), &interpreter)) {