summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2020-02-11 16:42:59 +0100
committerJonathan Bauer2020-02-11 16:42:59 +0100
commitc634baa344c831761399d4632fd8042d912ff4c4 (patch)
tree3468cfcb930ccbccf0696773faf85af692e980a9
parentchroot.inc: do not create empty overlay lists (diff)
downloadmltk-c634baa344c831761399d4632fd8042d912ff4c4.tar.gz
mltk-c634baa344c831761399d4632fd8042d912ff4c4.tar.xz
mltk-c634baa344c831761399d4632fd8042d912ff4c4.zip
chroot.inc: do not fail on empty whiteout listv26
-rw-r--r--core/includes/chroot.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/includes/chroot.inc b/core/includes/chroot.inc
index d5a404c5..2799b23b 100644
--- a/core/includes/chroot.inc
+++ b/core/includes/chroot.inc
@@ -171,6 +171,7 @@ chroot_handle_whiteouts() {
rm -f -- "$WHITEOUT" || perror "Could not delete whiteout $WHITEOUT!"
done
[ -s "$WHITEOUT_LIST" ] && pinfo "Whiteout list dumped to '${CHROOT_UPPERDIR}/overlay.whiteout.list'"
+ return 0
}
###############################################################################