From fb44c5eb1655dfe4bae3cb584e60fe74d7e6cb87 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 19 Aug 2014 12:13:21 +0000 Subject: main/mqtt-exec: fix typo in init.d script --- main/mqtt-exec/mqtt-exec.initd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/mqtt-exec/mqtt-exec.initd') diff --git a/main/mqtt-exec/mqtt-exec.initd b/main/mqtt-exec/mqtt-exec.initd index 727ee203af..8f25fdace3 100644 --- a/main/mqtt-exec/mqtt-exec.initd +++ b/main/mqtt-exec/mqtt-exec.initd @@ -18,8 +18,8 @@ start() { if [ -n "$will_topic" ]; then set -- "$@" --will-topic "$will_topic" fi - if yesno "$will_retained"; then - set -- "$@" --will-retained + if yesno "$will_retain"; then + set -- "$@" --will-retain fi if [ -n "$will_payload" ]; then set -- "$@" --will-payload "$will_payload" -- cgit v1.2.3