aboutsummaryrefslogtreecommitdiffstats
path: root/chapter7/backup.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-07 12:43:47 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-07 12:43:47 -0500
commitfeded3248bd1453fd9a264cc571e8d1bc2742651 (patch)
treec300647092c6285b5d883aa21af2a37f7ceb1858 /chapter7/backup.sh
parent99c6ae8bf03053bce2bb97d5df9a09b06154fe9a (diff)
parent6fe469522a3213e5b005e6f21b6bd34a71e064b3 (diff)
Merge branch 'cleanup' into chapter8
Diffstat (limited to 'chapter7/backup.sh')
-rw-r--r--chapter7/backup.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/chapter7/backup.sh b/chapter7/backup.sh
index 7745551..9442566 100644
--- a/chapter7/backup.sh
+++ b/chapter7/backup.sh
@@ -16,6 +16,7 @@ else
printf "%b" "${IRED}FAILED!${RST}\n"
exit "${retval}"
else
+ sudo chown -v "${USER}" "${HOME}"/"${file}" >"${LFS}"/sources/log/chapter7/backup.log 2>&1
printf "%b" "${IGRN}OK${RST}\n"
fi
popd > /dev/null || exit 1