From: Felix Fietkau Date: Tue, 27 Dec 2016 12:21:42 +0000 (+0100) Subject: relayd: fix expiry time handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b524fe5b8c51fddbfe49d6bcde5f8f126992820;p=openwrt%2Fstaging%2Fblocktrron.git relayd: fix expiry time handling Signed-off-by: Felix Fietkau --- diff --git a/package/network/services/relayd/files/relay.init b/package/network/services/relayd/files/relay.init index e5715a53ba..028b61ea36 100644 --- a/package/network/services/relayd/files/relay.init +++ b/package/network/services/relayd/files/relay.init @@ -83,7 +83,7 @@ start_relay() { local expiry # = 30 config_get expiry "$cfg" expiry - [ -n "$expiry" ] && procd_append_param command "$expiry" + [ -n "$expiry" ] && procd_append_param command -t "$expiry" local retry # = 5 config_get retry "$cfg" retry