mirror of
https://github.com/termux/termux-packages
synced 2024-06-25 16:07:08 +00:00
13 lines
486 B
Diff
13 lines
486 B
Diff
diff -uNr dropbear-2018.76/compat.c dropbear-2018.76.mod/compat.c
|
|
--- dropbear-2018.76/compat.c 2018-02-27 16:25:10.000000000 +0200
|
|
+++ dropbear-2018.76.mod/compat.c 2018-04-21 13:47:36.443738351 +0300
|
|
@@ -244,7 +244,7 @@
|
|
if (strings != NULL)
|
|
free(strings);
|
|
strings = NULL;
|
|
- if ((fp = fopen("/etc/shells", "rc")) == NULL)
|
|
+ if ((fp = fopen("@TERMUX_PREFIX@/etc/shells", "rc")) == NULL)
|
|
return (char **) okshells;
|
|
if (fstat(fileno(fp), &statb) == -1) {
|
|
(void)fclose(fp);
|