summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fsset.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fsset.py b/fsset.py
index 378c4b745..e67275707 100644
--- a/fsset.py
+++ b/fsset.py
@@ -476,6 +476,9 @@ class jfsFileSystem(FileSystemType):
["jfs_tune", "-L", label, devicePath],
stdout = "/dev/tty5",
stderr = "/dev/tty5")
+ if rc:
+ raise SystemError
+ entry.setLabel(label)
def formatDevice(self, entry, progress, chroot='/'):
devicePath = entry.device.setupDevice(chroot)