diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 11:34:56 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 11:34:56 -0500 |
commit | 215711600f348efb37b13163b838ee06c6071ca9 (patch) | |
tree | e0e6aadad960c60d643f03dce9831c639c693ad2 /lfs.sh | |
parent | 09a71c051060d3b934a19ae4d9c962f7ceb44c69 (diff) |
Use [[ ]] instead of [ ]
Diffstat (limited to 'lfs.sh')
-rwxr-xr-x | lfs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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/ |