1. Byron Clark
  2. udiskie

Commits

Thomas Gläßle  committed b066f2e

Fix automount of LUKS holder when no daemon is running

  • Participants
  • Parent commits 9bfdb91
  • Branches default

Comments (0)

Files changed (1)

File udiskie/mount.py

View file
  • Ignore whitespace
     udisks = udisks or get_udisks()
     holder_path = device.luks_cleartext_holder
     holder = udisks.Device(device.bus, holder_path)
-    return add_device(device, filter=filter, prompt=prompt, udisks=udisks)
+    return add_device(holder, filter=filter, prompt=prompt, udisks=udisks)
 
 def lock_slave(device, udisks=None):
     """