From 32940c57b4a28e2794ce4ae253087f39ceae2e29 Mon Sep 17 00:00:00 2001 From: GnomeZworc Date: Sun, 4 Oct 2026 16:34:27 +0200 Subject: [PATCH] f-50: deploy: exit 0 when the deployment succeeds Signed-off-by: GnomeZworc --- scripts/deploy.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index d6b1828..b654197 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -387,5 +387,6 @@ main () { switch_binaries "${FLAGS_dryrun}" "${FLAGS_profile}" "${ASSETS}" } -[[ "${BASH_SOURCE[0]}" == "${0}" ]] && (main "$@" || exit 1) -[[ "${BASH_SOURCE[0]}" == "" ]] && (main "$@" || exit 1) +if [[ "${BASH_SOURCE[0]}" == "${0}" || -z "${BASH_SOURCE[0]}" ]]; then + (main "$@" || exit 1) +fi