Skip to content

Commit 9f58c22

Browse files
committed
use exit code 127 when version is not installed
1 parent 23bf434 commit 9f58c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/private/asdf-exec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ for version in "${versions[@]}"; do
2424

2525
if [ "$version" != "system" ] && [ ! -d "$install_path" ]; then
2626
echo "$plugin_name $version not installed"
27-
exit 1
27+
exit 127
2828
fi
2929

3030
if full_executable_path=$(get_executable_path "$plugin_name" "$version" "$executable_path"); then

0 commit comments

Comments
 (0)