From bf92bc33ca475fc2d26f92982496e240aea48ff5 Mon Sep 17 00:00:00 2001 From: suchAdemon Date: Wed, 26 Jan 2022 14:26:39 +0100 Subject: [PATCH] gitea_get_notifications.sh: merged param3 into param2 for show --- gitea_get_notifications.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gitea_get_notifications.sh b/gitea_get_notifications.sh index 0ee3ab8..2df307e 100755 --- a/gitea_get_notifications.sh +++ b/gitea_get_notifications.sh @@ -1,7 +1,6 @@ #!/bin/bash myuser="${1}" gettype="${2:-merged}" -show_noti="${3:-false}" markmineread=false open_count=0 @@ -14,7 +13,7 @@ if [ "${gettype}" == "cleanup" ]; then markmineread=true fi -if $show_noti ; then +if [ "${gettype}" == "show" ]; then tea notification ls --mine exit 0 fi