diff options
Diffstat (limited to 'lib/library.c')
-rw-r--r-- | lib/library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/library.c b/lib/library.c index f28d223..2dc59fc 100644 --- a/lib/library.c +++ b/lib/library.c @@ -123,12 +123,12 @@ bm_init(void) return true; static const char *rpath = INSTALL_PREFIX "/lib/bemenu"; - const char *path = getenv("BEMENU_RENDERER"); + const char *path = secure_getenv("BEMENU_RENDERER"); if (path) return load_to_list(path); - path = getenv("BEMENU_RENDERERS"); + path = secure_getenv("BEMENU_RENDERERS"); if (!path || access(path, R_OK) == -1) path = rpath; |