Incorrect param for passing config file (#24)

This commit is contained in:
Nacef LABIDI 2018-12-07 17:43:18 +01:00 committed by Steve Brunton
parent 4264ed930f
commit d33cbd193e
1 changed files with 2 additions and 2 deletions

View File

@ -4,5 +4,5 @@ if [ -z "$CONFIG_FILE" ]
then
/app/mikrotik-exporter -device $DEVICE -address $ADDRESS -user $USER -password $PASSWORD
else
/app/mikrotik-exporter -config $CONFIG_FILE
fi
/app/mikrotik-exporter -config-file $CONFIG_FILE
fi