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