Commits

Thomas Gläßle committed b066f2e

Fix automount of LUKS holder when no daemon is running

Comments (0)

Files changed (1)

     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):
     """