Order functions (most common first) to exit 0 asap

This commit is contained in:
Jeremy Gardais 2020-06-12 16:21:20 +02:00
parent 842543d62f
commit 85ded81370
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 2 additions and 2 deletions

View File

@ -139,13 +139,13 @@ main() { # {{{
readonly LATEST_TIMESTAMP=$(date -d "${LATEST_MACO_VERSION}" "+%s")
readonly URGENT_TIMESTAMP=$(date -d "${URGENT_MACO_VERSION}" "+%s")
is_maco_urgent_upgrade_require \
is_maco_uptodate \
&& exit 0
is_maco_upgrade_require \
&& exit 0
is_maco_uptodate \
is_maco_urgent_upgrade_require \
&& exit 0
}