aboutsummaryrefslogtreecommitdiffstats
path: root/chapter7
diff options
context:
space:
mode:
Diffstat (limited to 'chapter7')
-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