From b777c7470eefc4dc1204d8c222e61779c7b441a4 Mon Sep 17 00:00:00 2001 From: Roberto Polverelli Monti Date: Sat, 16 Jan 2021 20:44:28 +0100 Subject: [PATCH] remove surplus `exit` --- .local/bin/rssadd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.local/bin/rssadd b/.local/bin/rssadd index 81d9267c..56c265d1 100755 --- a/.local/bin/rssadd +++ b/.local/bin/rssadd @@ -8,8 +8,7 @@ else sed -E 's_^.*href="(https?://[^"]+)".*$_\1_')" ! grep "https*://\S\+\.[A-Za-z]\+\S*" <<<"$url" && - notify-send "That doesn't look like a full URL." && exit - exit 1 + notify-send "That doesn't look like a full URL." && exit 1 fi RSSFILE="${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls"