diff options
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 0f474d6..0cbd314 100644 --- a/chapter6/backup.sh +++ b/chapter6/backup.sh @@ -9,7 +9,7 @@ else echo -ne "${GRN}Backing up ${YLW}${LFS}${GRN} to ${YLW}${FILE}${RST}... " pushd "${LFS}" > /dev/null || exit 1 - sudo XZ_OPTS="${NUMPROCS} -e" tar -cJpf /home/"${USER}"/"${FILE}" "${DIRS}" & pid=$! + sudo XZ_OPTS="-T${NUMPROCS} -e" tar -cJpf "${HOME}"/"${FILE}" "${DIRS}" & pid=$! spinner "$pid" retval=$? if [ "$retval" -ne 0 ]; then |