Skip to content

Commit

Permalink
Apply lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems authored Aug 18, 2023
1 parent 85fbaf4 commit 8ec845e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-lib
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ec845e

Please sign in to comment.