misc/libphyslayer/hwpacksmounter.c
changeset 15839 0defc1d3261d
parent 13395 fa81f809fbb9
--- a/misc/libphyslayer/hwpacksmounter.c	Wed Jul 14 23:50:44 2021 +0200
+++ b/misc/libphyslayer/hwpacksmounter.c	Tue Sep 07 01:45:16 2021 +0300
@@ -8,6 +8,8 @@
 {
     char ** filesList = PHYSFS_enumerateFiles("/");
     char **i;
+    
+    if (!filesList) return;
 
     for (i = filesList; *i != NULL; i++)
     {