diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 17:04:56 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-11-30 17:04:56 +1300 |
commit | 3c92ae0d570556eceae352faca5469d00989db7c (patch) | |
tree | ba9d73a08e12d9d2730ff8432aed749730a0d670 | |
parent | Remove unused $self variable (diff) | |
download | watch-vcs-tags-3c92ae0d570556eceae352faca5469d00989db7c.tar.gz watch-vcs-tags-3c92ae0d570556eceae352faca5469d00989db7c.zip |
Use correct control structure for loop body exit
-rwxr-xr-x | watch-git-tags | 2 |
1 files changed, 1 insertions, 1 deletions
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 |