1
0
mirror of https://github.com/dockur/windows.git synced 2026-06-11 12:49:36 +08:00

fix: Shellcheck (#84)

This commit is contained in:
Kroese
2024-01-24 05:54:26 +01:00
committed by GitHub
parent d3a91d8dfc
commit ca54001bc0
3 changed files with 25 additions and 19 deletions
+1 -1
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"