Forgot =True to parameter

This commit is contained in:
Anton Hvornum 2022-02-09 11:53:19 +01:00
parent 15b1fb26ce
commit c12fbc900a
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ class luks2:
os.path.basename(mountpoint) # TODO: Raise exception instead?
print(f"Looking for phrase: 'Enter passphrase for {partition.path}'")
cryptworker = SysCommandWorker(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --type luks2', peak_output)
cryptworker = SysCommandWorker(f'/usr/bin/cryptsetup open {partition.path} {mountpoint} --type luks2', peak_output=True)
pw_given = False
while cryptworker.is_alive():