diff options
-rw-r--r-- | chapter6/backup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter6/backup.sh b/chapter6/backup.sh index 73e3b3d..ed46f31 100644 --- a/chapter6/backup.sh +++ b/chapter6/backup.sh @@ -7,7 +7,7 @@ if [ -f "${LFS}/sources/chapter6/backup" ]; then printf "%b" " ${IGRN}Backup previously completed${RST}\n" else - echo -ne "${GRN}Backing up ${YLW}${LFS}${GRN} to ${YLW}${file}${RST}... " + printf "%b" "${GRN}Backing up ${YLW}${LFS}${GRN} to ${YLW}${file}${RST}... " pushd "${LFS}" > /dev/null || exit 1 sudo XZ_OPTS="-T${NUMPROCS} -e" tar cJpf "${HOME}"/"${file}" "${directories[@]}" >/dev/null 2>&1 & pid=$! spinner "$pid" "${SPINNER}" |