Przeglądaj źródła

Exit with 0 status when a version file is read successfully

pull/360/head^2
Sam Stephenson 15 lat temu
rodzic
commit
e5c0fd22e1
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      libexec/rbenv-version-file-read

+ 1
- 1
libexec/rbenv-version-file-read Wyświetl plik

@ -10,7 +10,7 @@ if [ -e "$VERSION_FILE" ]; then
version="${words[0]}"
if [ -n "$version" ]; then
echo "$version"
break
exit
fi
done < <( cat "$VERSION_FILE" && echo )
fi

Ładowanie…
Anuluj
Zapisz