security: fix typo is syskeygen script

Original commit: elastic/x-pack-elasticsearch@36abb4284a
This commit is contained in:
jaymode 2016-09-12 12:26:14 -04:00
parent 0c3466180f
commit 6d2fcbe688
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ if [ -e "$CONF_DIR" ]; then
fi
cd "$ES_HOME" > /dev/null
"$JAVA" $ES_JAVA_OPTS -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" org.elasticsearch.xpack.security.crypto.tool.SystemKeyTool $properties "{args[@]}"
"$JAVA" $ES_JAVA_OPTS -Des.path.home="$ES_HOME" -cp "$ES_CLASSPATH" org.elasticsearch.xpack.security.crypto.tool.SystemKeyTool $properties "${args[@]}"
status=$?
cd - > /dev/null
exit $status