Commits

Byron Clark committed cdd09f1

Only mount an unmounted device.

  • Participants
  • Parent commits ce1cd4e

Comments (0)

Files changed (1)

File udiskie/mount.py

                                      bus_name='org.freedesktop.UDisks')
 
     def _mount_device(self, device):
-        if device.is_handleable():
+        if device.is_handleable() and not device.is_mounted():
             filesystem = str(device.id_type())
             options = []
             device.mount(filesystem, options)