diff --git a/src/cryptobox/core/container.py b/src/cryptobox/core/container.py index af3f544..1a5c8c2 100644 --- a/src/cryptobox/core/container.py +++ b/src/cryptobox/core/container.py @@ -626,7 +626,7 @@ class CryptoBoxContainer: self.cbox.prefs["Programs"]["mkfs"], "-t", fs_type, self.device]) loc_data.proc.wait() - ## for to allow error detection + ## wait to allow error detection if loc_data.proc.returncode == 0: time.sleep(5) ## skip cleanup stuff (as common for sys.exit) @@ -643,7 +643,7 @@ class CryptoBoxContainer: time.sleep(3) ## if the thread exited very fast, then it failed if not bg_task.isAlive(): - raise CBCreateError("Failed to initilize device: %s" % self.device) + raise CBCreateError("Failed to initialize device: %s" % self.device) def __create_luks(self, password, fs_type="ext3"):