aboutsummaryrefslogtreecommitdiff
path: root/src/wix/wixnative/resetacls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/wixnative/resetacls.cpp')
-rw-r--r--src/wix/wixnative/resetacls.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wix/wixnative/resetacls.cpp b/src/wix/wixnative/resetacls.cpp
index 8c5bdc56..91bc633d 100644
--- a/src/wix/wixnative/resetacls.cpp
+++ b/src/wix/wixnative/resetacls.cpp
@@ -2,7 +2,9 @@
2 2
3#include "precomp.h" 3#include "precomp.h"
4 4
5HRESULT ResetAclsCommand(int argc, LPWSTR argv[]) 5HRESULT ResetAclsCommand(
6 __in int argc,
7 __in_ecount(argc) LPWSTR argv[])
6{ 8{
7 Unused(argc); 9 Unused(argc);
8 Unused(argv); 10 Unused(argv);
@@ -24,6 +26,9 @@ HRESULT ResetAclsCommand(int argc, LPWSTR argv[])
24 ConsoleExitOnLastError(hr, CONSOLE_COLOR_RED, "failed to initialize ACL"); 26 ConsoleExitOnLastError(hr, CONSOLE_COLOR_RED, "failed to initialize ACL");
25 } 27 }
26 28
29 hr = WixNativeReadStdinPreamble();
30 ExitOnFailure(hr, "failed to read stdin preamble before resetting ACLs");
31
27 // Reset the existing security permissions on each provided file. 32 // Reset the existing security permissions on each provided file.
28 for (;;) 33 for (;;)
29 { 34 {