From edaedda842909418af71525b0642a33980f9a9e0 Mon Sep 17 00:00:00 2001 From: jgaunt Date: Wed, 25 Dec 2019 18:10:23 -0500 Subject: [PATCH] Update 'freenas_network_unlock.py' --- freenas_network_unlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freenas_network_unlock.py b/freenas_network_unlock.py index d4f7da4..faffe1f 100644 --- a/freenas_network_unlock.py +++ b/freenas_network_unlock.py @@ -64,4 +64,4 @@ for pool in POOLS['response']: logging.debug('Pool {} is already unlocked'.format(pool['name'])) # wipe the files, unmount the ramfs, and remove the folder -rc = call("rm -fP /mnt/ramfs/*; umount /mnt/ramfs; rmdir /mnt/ramfs", shell=True) \ No newline at end of file +rc = call("umount -f /mnt/ramfs; rm -fP /mnt/ramfs/*; rmdir /mnt/ramfs", shell=True) \ No newline at end of file