From 215711600f348efb37b13163b838ee06c6071ca9 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Fri, 2 Apr 2021 11:34:56 -0500 Subject: Use [[ ]] instead of [ ] --- lfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lfs.sh') diff --git a/lfs.sh b/lfs.sh index 873426c..eced325 100755 --- a/lfs.sh +++ b/lfs.sh @@ -160,7 +160,7 @@ retval=$? printf "%b" "\n${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" # Cleanup and Backup if chapter 7 successfully finished -if [ "$retval" -eq 7 ]; then +if [[ "$retval" -eq 7 ]]; then printf "%b" "${GRN}Unmounting Virtual Kernel Filesystems...\n" sudo umount "${LFS}"/dev/pts sudo umount "${LFS}"/dev/ -- cgit v1.2.3-54-g00ecf