remove surplus exit

This commit is contained in:
Roberto Polverelli Monti 2021-01-16 20:44:28 +01:00
parent 738e3ce275
commit b777c7470e

View File

@ -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"