Skip to content

Commit

Permalink
Don't quote memory opts in case they are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
spacecowboy committed Apr 25, 2017
1 parent 7f2ff4e commit c5b5d78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ main() {
build_classpath
setup_java_opts
export NEO4J_HOME NEO4J_CONF
exec "${JAVA_CMD}" -cp "${CLASSPATH}" "${JAVA_OPTS[@]:-}" -Dfile.encoding=UTF-8 "org.neo4j.commandline.admin.AdminTool" "$@"
exec "${JAVA_CMD}" -cp "${CLASSPATH}" ${JAVA_OPTS[@]:-} -Dfile.encoding=UTF-8 "org.neo4j.commandline.admin.AdminTool" "$@"
}

main "$@"

0 comments on commit c5b5d78

Please sign in to comment.