From 7fa99a729a0b45be993029979e5671fb83ef768d Mon Sep 17 00:00:00 2001 From: Erik Osterman Date: Fri, 24 Nov 2017 08:40:26 -0800 Subject: [PATCH] Fix unmount (#100) --- rootfs/usr/local/include/toolbox/config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/usr/local/include/toolbox/config/Makefile b/rootfs/usr/local/include/toolbox/config/Makefile index dd266f076..61a482d48 100644 --- a/rootfs/usr/local/include/toolbox/config/Makefile +++ b/rootfs/usr/local/include/toolbox/config/Makefile @@ -83,7 +83,7 @@ mount: validate unmount: @[ -d $(REMOTE_MOUNT_POINT) ] || (echo "Mount point does not exist"; exit 1) @mountpoint -q $(REMOTE_MOUNT_POINT) || (echo "Nothing mounted to mount point"; exit 1) - /bin/umount $(REMOTE_MOUNT_POINT) + @/bin/umount -f $(REMOTE_MOUNT_POINT) @rmdir $(REMOTE_MOUNT_POINT) @echo "Unmounted $(CLUSTER_STATE_BUCKET)"