shellcheck: fix SC2155
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -201,10 +201,11 @@ function moonraker_obico_setup_dialog() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
### Step 7: Link to the Obico server if necessary
|
### Step 7: Link to the Obico server if necessary
|
||||||
|
local instance_name
|
||||||
local not_linked_instances=()
|
local not_linked_instances=()
|
||||||
# Refetch systemd service again since additional services may have been newly installed
|
# Refetch systemd service again since additional services may have been newly installed
|
||||||
for service in $(moonraker_obico_systemd); do
|
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
|
if ! is_moonraker_obico_linked "${instance_name}"; then
|
||||||
not_linked_instances+=( "${instance_name}" )
|
not_linked_instances+=( "${instance_name}" )
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user