From 8ec845e1fc7d641a0571464a888fbd4eb2ebd86c Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Thu, 17 Aug 2023 19:46:20 -0600 Subject: [PATCH] Apply lint fix --- scripts/install-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-lib b/scripts/install-lib index 27c77b040..0932ebf3a 100644 --- a/scripts/install-lib +++ b/scripts/install-lib @@ -181,7 +181,7 @@ remove-bind-mount() { # # $1 - Full name of the systemd unit, e.g. "draft.service" unit-exists() { - [ $(systemctl --quiet list-unit-files "${1}" | grep -c "${1}") -eq 1 ] + [ "$(systemctl --quiet list-unit-files "${1}" | grep -c "${1}")" -eq 1 ] } # Stops and disabled a unit