summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 202a35b..c97975a 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -353,7 +353,7 @@ class OgLiveOperations:
cxt.add_partition(pa)
cxt.write_disklabel()
- subprocess.run('partprobe')
+ subprocess.run(['partprobe', f'/dev/{diskname}'])
for part in partlist:
if part["filesystem"] == 'EMPTY':