1
0
ashuntu 2 жил өмнө
parent
commit
3f969bbf1f
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      lib/client_impl.c

+ 1 - 1
lib/client_impl.c

@@ -121,7 +121,7 @@ static int in_sandbox(void)
 		r = lstat("/.flatpak-info", &sb);
 		status = r == 0 && sb.st_size > 0;
 
-		if (getenv("SNAP")) {
+		if (getenv("SNAP") != NULL) {
 			status = 1;
 		}
 	}