diff --git a/mkosi.images/build/mkosi.sync b/mkosi.images/build/mkosi.sync index 198e1bc1475..a545d498670 100755 --- a/mkosi.images/build/mkosi.sync +++ b/mkosi.images/build/mkosi.sync @@ -3,7 +3,7 @@ set -e set -o nounset -if ((${NO_SYNC:-0})); then +if ((${NO_SYNC:-0})) || ((${NO_BUILD:-0})); then exit 0 fi