[source] relayd: fix expiry time handling

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 27 04:22:11 PST 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/6b524fe5b8c51fddbfe49d6bcde5f8f126992820

commit 6b524fe5b8c51fddbfe49d6bcde5f8f126992820
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Dec 27 13:21:42 2016 +0100

    relayd: fix expiry time handling
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/relayd/files/relay.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/relayd/files/relay.init b/package/network/services/relayd/files/relay.init
index e5715a5..028b61e 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



More information about the lede-commits mailing list