mirror of https://github.com/rapenne-s/bento
bento: diff shouldn't display an error for new machines
This commit is contained in:
parent
80c0de326b
commit
6b0eecb7f3
2
bento
2
bento
|
@ -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 ]
|
||||
|
|
Loading…
Reference in New Issue