a7332ef7a6
until problems are solved listed in https://github.com/termux/termux-packages/issues/8571.
17 lines
526 B
Diff
17 lines
526 B
Diff
--- a/src/files.c
|
|
+++ b/src/files.c
|
|
@@ -1920,11 +1920,11 @@
|
|
wait_synch();
|
|
}
|
|
else if (!strncmp(windowprocs.name, "proxy/", 6)) {
|
|
- fp = fopenp("/etc/slashem/proxy.slashemrc", "r");
|
|
+ fp = fopenp("@TERMUX_PREFIX@/etc/slashem/proxy.slashemrc", "r");
|
|
if (fp != (FILE *)0)
|
|
return(fp);
|
|
else if (errno != ENOENT) {
|
|
- raw_printf("Couldn't open /etc/slashem/proxy.slashemrc (%d).",
|
|
+ raw_printf("Couldn't open @TERMUX_PREFIX@/etc/slashem/proxy.slashemrc (%d).",
|
|
errno);
|
|
wait_synch();
|
|
}
|