From 96ebe079a4889ff8753052f890a9431c4a6dd152 Mon Sep 17 00:00:00 2001 From: mag37 Date: Thu, 13 Feb 2025 21:28:21 +0100 Subject: [PATCH] removed 'not source' message as its optional --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index f69979f..dfc7d0e 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -169,7 +169,7 @@ if [[ "$VERSION" != "$LatestRelease" ]] ; then read -r -p "Would you like to update? y/[n]: " SelfUpdate [[ "$SelfUpdate" =~ [yY] ]] && self_update else - [[ -n "$Notify" ]] && { [[ $(type -t dockcheck_notification) == function ]] && dockcheck_notification "$VERSION" "$LatestRelease" "$LatestChanges" || printf "Could not source notification function.\n" ; } + [[ -n "$Notify" ]] && { [[ $(type -t dockcheck_notification) == function ]] && dockcheck_notification "$VERSION" "$LatestRelease" "$LatestChanges" ; } fi fi