relayd: fix expiry time handling
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Dec 2016 12:21:42 +0000 (13:21 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 27 Dec 2016 12:21:42 +0000 (13:21 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/relayd/files/relay.init

index e5715a5..028b61e 100644 (file)
@@ -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