summaryrefslogtreecommitdiffstats
path: root/server/lib/checkrest
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/checkrest')
-rwxr-xr-xserver/lib/checkrest4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/checkrest b/server/lib/checkrest
index 3fcd8bd1..c88ff53d 100755
--- a/server/lib/checkrest
+++ b/server/lib/checkrest
@@ -12,7 +12,7 @@
PROG=$(basename "$0")
OPENGNSYS=/opt/opengnsys
-CONFIGFILE=$OPENGNSYS/etc/ogserver.cfg
+CONFIGFILE=$OPENGNSYS/etc/ogserver.json
RESTURL="https://localhost/opengnsys/rest"
source $OPENGNSYS/lib/ogfunctions.sh || exit 1
@@ -128,7 +128,7 @@ function runtests () {
# Check dependencies.
which jq &>/dev/null || raiseError notfound "Need to install \"jq\"."
-source $CONFIGFILE
+source_json_config $CONFIGFILE
deletedata
loaddata
runtests