From e3021e747893b967e92903f74fc17759579691e2 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 28 Jan 2022 13:41:18 -0300 Subject: [PATCH] Refactor --- install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install.sh b/install.sh index e949108..0086b88 100755 --- a/install.sh +++ b/install.sh @@ -14,9 +14,7 @@ formatOptions() { # TODO: Add support for MBR boot mode checkUefi() { ls /sys/firmware/efi/efivars > /dev/null 2>&1 - if [ $? -ge 1 ]; then - printAndExit "This scripts supports only UEFI boot mode." - fi + [ $? -ge 1 ] && printAndExit "This scripts supports only UEFI boot mode." } updateSystemClock() {