diff options
author | Irina Gómez <irinagomez@us.es> | 2020-10-29 13:23:39 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2020-10-29 13:23:39 +0100 |
commit | 63b3fbf52441cde08a05df2d2237f63be52adfc3 (patch) | |
tree | 2df23f158d4fae1c644d218e96fb1fa7d33a1583 /server/bin/settoken | |
parent | 084fdc10f7e861ce6e83120dc099d2416904af55 (diff) |
#988 Fix settoken json handling
source_json_config loads config values.
Diffstat (limited to 'server/bin/settoken')
-rwxr-xr-x | server/bin/settoken | 1 |
1 files changed, 1 insertions, 0 deletions
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 |