nut: Fix extraneous config_get

nut-server initscript had a duplicate config_get statepath, so remove it

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
This commit is contained in:
Daniel F. Dickinson 2018-10-09 22:12:55 -04:00
parent 58e33b02a8
commit 36fd59dc78
1 changed files with 0 additions and 1 deletions

View File

@ -61,7 +61,6 @@ upsd_config() {
config_get maxage "$cfg" maxage
[ -n "$maxage" ] && echo "MAXAGE $maxage" >>"$UPSD_C"
config_get statepath "$cfg" statepath
[ -n "$statepath" ] && echo "STATEPATH $statepath" >>"$UPSD_C"
config_get maxconn "$cfg" maxconn