diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 10:46:31 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-02 10:46:31 -0500 |
commit | e8c0f5a1a0d7ccee510fa59e577cccd46d68e3f8 (patch) | |
tree | 0b8d8a29082cac6468be330fde3e9939473d62fa /setupdisk.sh | |
parent | 6a4f0a701b1f4d72cdd46bfe506a2dd517bd4932 (diff) |
Put quotes around
Diffstat (limited to 'setupdisk.sh')
-rw-r--r-- | setupdisk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setupdisk.sh b/setupdisk.sh index 6d13436..b6c4226 100644 --- a/setupdisk.sh +++ b/setupdisk.sh @@ -27,7 +27,7 @@ ${IRED}FAILED!${RST}\n" fi printf "%b" " ${IGRN}Formatting ${IWHT}${LFS_DISK}${LFS_PART} with \ ${IWHT}${LFS_FS}${IGRN} filesystem and label ${IWHT}${LFS_VER}${RST}\n" -if ! sudo /sbin/mkfs -t ${LFS_FS,,} -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then +if ! sudo /sbin/mkfs -t "${LFS_FS,,}" -L "${LFS_VER}" -F "${LFS_DISK}${LFS_PART}" >/dev/null 2>&1; then printf "%b" " ${IGRN}Creating ${IWHT}${LFS_FS}${IGRN} filesystem at \ ${IWHT}${LFS_DISK}${LFS_PART} ${IRED}FAILED!${RST}\n" exit 1 |