瀏覽代碼

Exit with 0 status when a version file is read successfully

pull/360/head^2
Sam Stephenson 15 年之前
父節點
當前提交
e5c0fd22e1
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      libexec/rbenv-version-file-read

+ 1
- 1
libexec/rbenv-version-file-read 查看文件

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

Loading…
取消
儲存