Commit 689815f3 authored by Aleksey R. (aka EreTIk)'s avatar Aleksey R. (aka EreTIk)
Browse files

Fix: redirect reg.exe error to null

parent f73b3fe6
Pipeline #9671 failed with stage
in 10 minutes and 23 seconds
......@@ -42,7 +42,7 @@ ifeq ($(gdb),yes)
QEMUFLAGS+=-s
endif
WSL_QEMU_DIR=$(shell reg.exe query 'HKLM\Software\QEMU' /v Install_Dir /t REG_SZ 2> NULL | grep '^ Install_Dir' | sed 's/\s*Install_Dir\s*REG_SZ\s*//g')
WSL_QEMU_DIR=$(shell reg.exe query 'HKLM\Software\QEMU' /v Install_Dir /t REG_SZ 2> /dev/null | grep '^ Install_Dir' | sed 's/\s*Install_Dir\s*REG_SZ\s*//g')
ifeq ($(WSL_QEMU_DIR),)
ifeq ($(UNAME),Linux)
ifneq ($(kvm),no)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment