diff options
author | Jonathan Bauer | 2018-01-29 15:08:46 +0100 |
---|---|---|
committer | Jonathan Bauer | 2018-01-29 15:08:46 +0100 |
commit | 73bf08175be42c59591057e182bf8f52b53bf110 (patch) | |
tree | 1410f796028367509b6e3e43df5cb19287bd86b1 /core/includes/chroot.inc | |
parent | [rfs-stage31] Fix NBSP -> Space (diff) | |
download | mltk-73bf08175be42c59591057e182bf8f52b53bf110.tar.gz mltk-73bf08175be42c59591057e182bf8f52b53bf110.tar.xz mltk-73bf08175be42c59591057e182bf8f52b53bf110.zip |
[chroot] perror if touching whiteout list failed
Diffstat (limited to 'core/includes/chroot.inc')
-rw-r--r-- | core/includes/chroot.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/includes/chroot.inc b/core/includes/chroot.inc index 3004478c..f04dd446 100644 --- a/core/includes/chroot.inc +++ b/core/includes/chroot.inc @@ -164,7 +164,7 @@ chroot_handle_whiteouts() { local WHITEOUT_LIST="${CHROOT_UPPERDIR}/overlay.whiteout.list" rm -f -- "$WHITEOUT_LIST" mkdir -p "$(dirname "$WHITEOUT_LIST")" || perror "Could not create $(dirname "$WHITEOUT_LIST")" - touch "$WHITEOUT_LIST" + touch "$WHITEOUT_LIST" || perror "Could not touch whiteout list $WHITEOUT_LIST" pdebug "Searching for overlayfs-whiteouts ..." for WHITEOUT in $(find "$CHROOT_UPPERDIR" \( -type c -perm 0000 \) -o -lname "(overlay-whiteout)"); do pdebug "Whiteout found: $WHITEOUT" |