f-50: deploy: exit 0 when the deployment succeeds
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
90d8128b6c
commit
32940c57b4
1 changed files with 3 additions and 2 deletions
|
|
@ -387,5 +387,6 @@ main () {
|
||||||
switch_binaries "${FLAGS_dryrun}" "${FLAGS_profile}" "${ASSETS}"
|
switch_binaries "${FLAGS_dryrun}" "${FLAGS_profile}" "${ASSETS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && (main "$@" || exit 1)
|
if [[ "${BASH_SOURCE[0]}" == "${0}" || -z "${BASH_SOURCE[0]}" ]]; then
|
||||||
[[ "${BASH_SOURCE[0]}" == "" ]] && (main "$@" || exit 1)
|
(main "$@" || exit 1)
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue