From 0027ed796c2b28ba9fbdfea02c129c7685763af3 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Mon, 5 Jan 2004 16:54:53 +0000 Subject: minor jfs label fix from ajay --- fsset.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fsset.py') 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) -- cgit