X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/20e1e3ecbaadad56c0ac8678f1c1e3cc257e6d57..7f6ab9a128b7848186a9a36580011a97253f70c8:/vcsh diff --git a/vcsh b/vcsh index 3937d2b..c6ea395 100755 --- a/vcsh +++ b/vcsh @@ -133,8 +133,8 @@ init() { } list() { - for i in "$VCSH_REPO_D"/*.git; do - echo $(basename "$i" .git) + for repo in "$VCSH_REPO_D"/*.git; do + [ -r "$repo" ] && echo $(basename "$repo" .git) done }