From 3c92ae0d570556eceae352faca5469d00989db7c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 30 Nov 2018 17:04:56 +1300 Subject: Use correct control structure for loop body exit --- watch-git-tags | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch-git-tags b/watch-git-tags index 890fa9e..b9fdce8 100755 --- a/watch-git-tags +++ b/watch-git-tags @@ -56,7 +56,7 @@ for repo ; do ( # Attempt to quietly fetch new tags so that we don't notify about the same # ones next time - [ -s tags/new ] || continue + [ -s tags/new ] || exit git -C "$repo" fetch --quiet --tags ) & done -- cgit v1.2.3