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 e5715a53baca1a91cb43401a73e8b1c10e2ca7b8..028b61ea360f6caff193c32867c24d39e7d6e968 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