Skip to content

Commit

Permalink
#988 Fix settoken json handling
Browse files Browse the repository at this point in the history
source_json_config loads config values.
  • Loading branch information
irinagomez committed Oct 29, 2020
1 parent 084fdc1 commit 63b3fbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/bin/settoken
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63b3fbf

Please sign in to comment.