Use fusermount -z to force detach and avoid hanging on exit.
authorTom Clegg <tom@curoverse.com>
Mon, 24 Feb 2014 21:25:33 +0000 (13:25 -0800)
committerTom Clegg <tom@curoverse.com>
Mon, 24 Feb 2014 21:52:34 +0000 (13:52 -0800)
sdk/python/bin/arv-mount

index 0cab824613de7f2a6d8dbada24c8c640fa570b92..e619b5cda8f2c51886a07c456bce19b734ea1af7 100755 (executable)
@@ -50,7 +50,7 @@ if __name__ == '__main__':
         except:
             rc = 255
         finally:
-            subprocess.call(["fusermount", "-u", args.mountpoint])
+            subprocess.call(["fusermount", "-u", "-z", args.mountpoint])
 
         exit(rc)
     else: