Skip to content

Commit

Permalink
Add missing local declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Jun 29, 2023
1 parent 8a55344 commit dfdeb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/bootstrap/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ already-installed-message() {
# remain from previous installs
check-installed() {
local unit_path
local unit
unit_path="/lib/systemd/system/$(systemd-escape --path /opt).mount"
unit="$(basename "$unit_path")"
if [[ -f $unit_path ]] && systemctl --quiet is-active "$unit" 2> /dev/null; then
Expand Down

0 comments on commit dfdeb3c

Please sign in to comment.