From 63b3fbf52441cde08a05df2d2237f63be52adfc3 Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Thu, 29 Oct 2020 13:23:39 +0100 Subject: #988 Fix settoken json handling source_json_config loads config values. --- server/bin/settoken | 1 + 1 file changed, 1 insertion(+) diff --git a/server/bin/settoken b/server/bin/settoken index 3bb191d7..25df902b 100755 --- a/server/bin/settoken +++ b/server/bin/settoken @@ -47,6 +47,7 @@ case "${1,,}" in esac [ "$USER" != "root" ] && raiseError access "Need to be root" [ -w $SERVERCFG ] || raiseError access "Server configuration file" +source_json_config $SERVERCFG # Update user token. if [ "$OGUSER" ]; then -- cgit v1.2.3-18-g5258