aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/appimage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/appimage.c b/src/firejail/appimage.c
index 930d92177..dd347a714 100644
--- a/src/firejail/appimage.c
+++ b/src/firejail/appimage.c
@@ -88,7 +88,7 @@ void appimage_set(const char *appimage_path) {
88 printf("appimage mounted on %s\n", mntdir); 88 printf("appimage mounted on %s\n", mntdir);
89 EUID_USER(); 89 EUID_USER();
90 90
91 if (mntdir && setenv("APPIMAGE", appimage_path, 1) < 0) 91 if (appimage_path && setenv("APPIMAGE", appimage_path, 1) < 0)
92 errExit("setenv"); 92 errExit("setenv");
93 93
94 if (mntdir && setenv("APPDIR", mntdir, 1) < 0) 94 if (mntdir && setenv("APPDIR", mntdir, 1) < 0)