blob: 66d14a9fc3c42580eaa4db93129d774f67ac746a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff '--color=auto' -Naurd privoxy-3.0.28-stable.orig/jcc.c privoxy-3.0.28-stable/jcc.c
--- privoxy-3.0.28-stable.orig/jcc.c 2018-12-30 21:40:13.000000000 +0300
+++ privoxy-3.0.28-stable/jcc.c 2020-07-11 14:43:39.851143843 +0300
@@ -4013,7 +4013,10 @@
}
#endif
- chdir("/");
+ if (chdir("/"))
+ {
+ log_error(LOG_LEVEL_FATAL, "Cannot chdir /");
+ }
} /* -END- if (daemon_mode) */
|