diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 12:16:39 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-04-01 12:16:39 -0500 |
commit | c7651e10b510157286effc055d6ce0c86d9e995c (patch) | |
tree | 15ab0fe8a45645a9f984892e9fe7a746c6a3dfa9 /chapter6/backup.sh | |
parent | dc161b4d4f5c37c2e72a953e639641b112fb68a0 (diff) | |
parent | 0f7d778bfe357bd031249165d69561a5f92a0d8a (diff) |
Merge branch 'cleanup' into chapter7
Diffstat (limited to 'chapter6/backup.sh')
-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 e25b3e4..db01b98 100644 --- a/chapter6/backup.sh +++ b/chapter6/backup.sh @@ -10,7 +10,7 @@ else echo -ne "${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 "$pid" "${SPINNER}" retval=$? if [ "$retval" -ne 0 ]; then printf "%b" "${RED}FAILED!${RST}\n" |