diff options
-rwxr-xr-x | lib/isodumper.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index d8387b4..464943f 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -438,7 +438,9 @@ class IsoDumper(object): if iface.state: self.logger(_("Added encrypted persistent partition")) else: + self.logger(_("Adding encrypted persistent partition failed")) self.logger(iface.message) + nowarning = False else: iface.do_persistence(target, "mgalive-persist", "") while not iface.done: @@ -446,7 +448,12 @@ class IsoDumper(object): self.progress.setValue(progress) self.dialog.pollEvent() time.sleep(.5) - self.logger(_("Added persistent partition")) + if iface.state: + self.logger(_("Added persistent partition")) + else: + self.logger(_("Adding persistent partition failed")) + self.logger(iface.message) + nowarning = False # Unmount if partitions are automatically mounted and then eject self.progress.setValue(100) self.dialog.pollEvent() |