From e45a4a9e00a6ebce1ca4b0f67af811bc90a00c80 Mon Sep 17 00:00:00 2001 From: simono41 Date: Wed, 22 Aug 2018 00:17:50 +0200 Subject: [PATCH] fix --- arch-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-install b/arch-install index b21bf7e..03956f4 100755 --- a/arch-install +++ b/arch-install @@ -152,8 +152,8 @@ function secureumount() { fi fi - if cat /proc/mounts | grep ${device}1 > /dev/null; then - umount ${device}1 + if cat /proc/mounts | grep ${device}${m2ssd}1 > /dev/null; then + umount ${device}${m2ssd}1 fi if [ -n "${usbkeydevice}" ]; then