Skip to content

Commit 191291a

Browse files
author
Vladimir Kotal
committed
do not try to outsmart Indexer option checks
1 parent 936b8e2 commit 191291a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OpenGrok

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ DefaultInstanceConfiguration()
259259
# (the configuration used by Web/GUI interfaces)
260260
XML_CONFIGURATION="${OPENGROK_INSTANCE_BASE}/etc/configuration.xml"
261261

262-
# OPTIONAL: read only XML config, if it exists, it will be read
262+
# OPTIONAL: read only XML configuration
263263
READ_XML_CONFIGURATION="${OPENGROK_READ_XML_CONFIGURATION:-}"
264264

265-
if [ -f "${READ_XML_CONFIGURATION}" ] ; then
265+
if [ -n "${READ_XML_CONFIGURATION}" ] ; then
266266
READ_XML_CONF="-R ${READ_XML_CONFIGURATION}"
267267
fi
268268

0 commit comments

Comments
 (0)