diff --git a/dropbear/compat.c b/dropbear/compat.c index a689a14..71558a5 100644 --- a/dropbear/compat.c +++ b/dropbear/compat.c @@ -235,7 +235,7 @@ void setusershell() { static char **initshells() { /* don't touch this list. */ - const char *okshells[] = { "/bin/sh", "/bin/csh", NULL }; + static const char *okshells[] = { "/bin/sh", "/bin/csh", NULL }; register char **sp, *cp; register FILE *fp; struct stat statb;