summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/engine.py')
-rw-r--r--scripts/lib/wic/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/engine.py b/scripts/lib/wic/engine.py
index 24797511e5..83c42c9987 100644
--- a/scripts/lib/wic/engine.py
+++ b/scripts/lib/wic/engine.py
@@ -439,7 +439,7 @@ class Disk:
439 outf.flush() 439 outf.flush()
440 440
441 def read_ptable(path): 441 def read_ptable(path):
442 out = exec_cmd("{} -dJ {}".format(self.sfdisk, path)) 442 out = exec_cmd("{} -J {}".format(self.sfdisk, path))
443 return json.loads(out) 443 return json.loads(out)
444 444
445 def write_ptable(parts, target): 445 def write_ptable(parts, target):