Skip to content

Commit 8b943fe

Browse files
committed
class-version.sh: fix bug w/ unknown Java version
1 parent 56d407a commit 8b943fe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

class-version.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ do
4949
then
5050
version="J2SE $(expr $major - 44)"
5151
else
52-
java="Unknown"
52+
version="Unknown"
5353
fi
5454
;;
55-
5655
esac
5756

5857
# report the results

0 commit comments

Comments
 (0)