relayd: fix expiry time handling
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
3f20fd4ee0
commit
6b524fe5b8
|
@ -83,7 +83,7 @@ start_relay() {
|
||||||
|
|
||||||
local expiry # = 30
|
local expiry # = 30
|
||||||
config_get expiry "$cfg" expiry
|
config_get expiry "$cfg" expiry
|
||||||
[ -n "$expiry" ] && procd_append_param command "$expiry"
|
[ -n "$expiry" ] && procd_append_param command -t "$expiry"
|
||||||
|
|
||||||
local retry # = 5
|
local retry # = 5
|
||||||
config_get retry "$cfg" retry
|
config_get retry "$cfg" retry
|
||||||
|
|
Loading…
Reference in New Issue