Skip to content

Commit a338ac7

Browse files
committed
Die if java bin is not found or specified
1 parent 574681e commit a338ac7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/dotr

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ function runMain {
2323

2424
if [ "$jbin" == "" ]; then
2525
echo "java bin not detected - please specify with \$JAVA_BIN or install java to a default location"
26+
exit 1
2627
else
2728
eval "$jbin $CLASS_PATH $@"
2829
fi

0 commit comments

Comments
 (0)