aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 16:10:13 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-01 16:10:13 -0500
commit2b3ad233705d788ef0ea0ba65a6197cb8120e688 (patch)
treeb42b6446994dd811dd343f702f75498334116fa7
parent9dbc17f3dcaf1191c49a557c7dbb60ededbf4d5b (diff)
Pass SPINNER variable to spinner for spinnertype.
-rw-r--r--chapter7/backup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter7/backup.sh b/chapter7/backup.sh
index d34e383..4bdb206 100644
--- a/chapter7/backup.sh
+++ b/chapter7/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
echo -e "${RED}FAILED!${RST}"