From 2428de23ee02de987e7e6ec80ebd67be369d9048 Mon Sep 17 00:00:00 2001 From: undergroundwires Date: Tue, 12 Jan 2021 04:07:55 +0100 Subject: [PATCH] fix unintended null file creation #52 --- src/application/collections/windows.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application/collections/windows.yaml b/src/application/collections/windows.yaml index bbab4116..8d6130cc 100644 --- a/src/application/collections/windows.yaml +++ b/src/application/collections/windows.yaml @@ -3508,9 +3508,9 @@ actions: recommend: strict code: |- if %PROCESSOR_ARCHITECTURE%==x86 ( - %SystemRoot%\System32\OneDriveSetup.exe /uninstall 2>null + %SystemRoot%\System32\OneDriveSetup.exe /uninstall 2>nul ) else ( - %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 2>null + %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall 2>nul ) revertCode: |- if %PROCESSOR_ARCHITECTURE%==x86 (