summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 0d29948..70c4d38 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -478,6 +478,10 @@ class OgLiveOperations:
ogExtendFs(disk, partition)
+ if os.access(f'{image_path}', os.R_OK) == False:
+ logging.error(f'Cannot access partclone image file {image_path}')
+ raise ValueError('Cannot access image file')
+
image_info = ogGetImageInfo(image_path)
except:
self._restartBrowser(self._url)