fix: Shellcheck (#84)

This commit is contained in:
Kroese 2024-01-24 05:54:26 +01:00 committed by GitHub
parent d3a91d8dfc
commit ca54001bc0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 19 deletions

View file

@ -116,7 +116,7 @@ _graceful_shutdown() {
finish "$code" && return "$code"
fi
if [ ! f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then
if [ ! -f "$STORAGE/windows.boot" ] && [ -f "$QEMU_PTY" ]; then
if ! grep -Fq "Windows Boot Manager" "$QEMU_PTY"; then
info "Cannot send ACPI signal during Windows setup, aborting..."
finish "$code" && return "$code"