From dd9255bb9f7e296d86b96e25956c7181c860d337 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Thu, 2 Mar 2017 17:50:00 +0100 Subject: [PATCH] no error when quitting without mount. fix https://github.com/oberon2007/manjaro-architect/issues/5 --- lib/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.sh b/lib/util.sh index 1aac05f..283fd1b 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -447,7 +447,7 @@ final_check() { } exit_done() { - if check_mount; then + if [[ $(lsblk -o MOUNTPOINT | grep ${MOUNTPOINT}) == "" ]]; then final_check dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "$_CloseInstBody $(cat ${CHECKLIST})" 0 0 if [[ $? -eq 0 ]]; then