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