restore: Unmount floppy from mountpoint automatically.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 31 Jan 2019 12:02:42 +0000 (12:02 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 31 Jan 2019 12:02:42 +0000 (12:02 +0000)
2019-fosdem/restore

index ee22354..2b676da 100755 (executable)
@@ -2,6 +2,7 @@
 # Unmount everything.
 
 sudo umount /tmp/mnt         >&/dev/null
+sudo umount /run/media/rjones/NBDKITFLOPY/ >&/dev/null
 
 sudo mdadm --stop /dev/md0   >&/dev/null