bento: diff shouldn't display an error for new machines

This commit is contained in:
Solene Rapenne 2022-10-04 23:02:59 +02:00
parent 80c0de326b
commit 6b0eecb7f3
1 changed files with 1 additions and 1 deletions

2
bento
View File

@ -514,7 +514,7 @@ deploy_files() {
# only distribute changes if they changed
# this avoids bumping the time and trigger a rebuild for nothing
diff -r "${STAGING_DIR}/${dest}/config/" "${CHROOT_DIR}/${dest}/config/" >/dev/null
diff -r "${STAGING_DIR}/${dest}/config/" "${CHROOT_DIR}/${dest}/config/" >/dev/null 2>/dev/null
CHANGES=$?
if [ "$CHANGES" -ne 0 ]