From 78cc8bbffb30f7cd32d34ff7792da5eac405d63d Mon Sep 17 00:00:00 2001 From: th33xitus Date: Sat, 13 Aug 2022 11:16:07 +0200 Subject: [PATCH] shellcheck: fix SC2155 Signed-off-by: Dominik Willner --- scripts/obico.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/obico.sh b/scripts/obico.sh index 3f18483..b24158e 100644 --- a/scripts/obico.sh +++ b/scripts/obico.sh @@ -201,10 +201,11 @@ function moonraker_obico_setup_dialog() { fi ### Step 7: Link to the Obico server if necessary + local instance_name local not_linked_instances=() # Refetch systemd service again since additional services may have been newly installed for service in $(moonraker_obico_systemd); do - local instance_name="$(get_instance_name "${service}" moonraker-obico)" + instance_name="$(get_instance_name "${service}" moonraker-obico)" if ! is_moonraker_obico_linked "${instance_name}"; then not_linked_instances+=( "${instance_name}" ) fi