Cosmetical in backend

Supress error when we rebuild rootfs cache
This commit is contained in:
Igor Pecovnik 2021-05-03 00:08:55 +02:00
parent 9b0dd2b839
commit f43db66d32

View File

@ -246,6 +246,9 @@ if [[ $BUILD_DESKTOP == "yes" ]]; then
error_msg+="$(cat "${DESKTOP_ENVIRONMENT_DIRPATH}/only_for")"
fi
# supress error when cache is rebuilding
[[ -n "$ROOT_FS_CREATE_ONLY" ]] && exit 0
exit_with_error "${error_msg}"
}