autossh: fix procd env issue
authorLeo Soares <leo@hyper.ag>
Wed, 6 Oct 2021 13:03:42 +0000 (14:03 +0100)
committerRosen Penev <rosenp@gmail.com>
Wed, 6 Oct 2021 19:33:44 +0000 (12:33 -0700)
commitd09b92396abadf52921a81826b2a7ea12b3d7244
treee97fd8eb5d3e00359c141a7a81211d1107e34abc
parentda568467118a8908303432500ec16510e0499318
autossh: fix procd env issue

This commit fixes an issue where the `AUTOSSH_GATETIME` is not available in the `procd`  environment which gets overwritten by the second `procd_set_param env` call.
It now calls the `procd_set_param env` once with the two variables, instead of twice.

Signed-off-by: Leo Soares <leo@hyper.ag>
(cherry picked from commit 9c4d79519ced3d0ccf6917e24b32b747e1672c62)
net/autossh/files/autossh.init