Skip to content

Commit 5e9c042

Browse files
author
Marcelo Vanzin
committed
Grammar.
1 parent 10efa93 commit 5e9c042

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/spark-class

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ COUNT=${#CMD[@]}
8181
LAST=$((COUNT - 1))
8282
LAUNCHER_EXIT_CODE=${CMD[$LAST]}
8383

84-
# Certain JVM failures result in error being printed to stdout (instead of stderr), which causes
85-
# the code that parses the output of the launcher to get confused. In those cases, we check if
86-
# the exit code is an integer, and if it's not, handle it as a special error case.
84+
# Certain JVM failures result in errors being printed to stdout (instead of stderr), which causes
85+
# the code that parses the output of the launcher to get confused. In those cases, check if the
86+
# exit code is an integer, and if it's not, handle it as a special error case.
8787
if ! [[ $LAUNCHER_EXIT_CODE =~ ^[0-9]+$ ]]; then
8888
echo "${CMD[@]}" | head -n-1 1>&2
8989
exit 1

0 commit comments

Comments
 (0)