Order functions (most common first) to exit 0 asap
This commit is contained in:
parent
842543d62f
commit
85ded81370
|
@ -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
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue