tst: passthrough: EnableBackupRestorePrivileges: minor fix

This commit is contained in:
Bill Zissimopoulos committed 2017-02-02 14:51:45 -08:00
1 parent 3700b375a7
commit 09101129a3
2 files changed
+8

No files matched your search

+4
View File
@@ -1269,7 +1269,11 @@ static NTSTATUS EnableBackupRestorePrivileges(VOID)
return FspNtStatusFromWin32(GetLastError());
if (!AdjustTokenPrivileges(Token, FALSE, &Privileges.P, 0, 0, 0))
{
CloseHandle(Token);
return FspNtStatusFromWin32(GetLastError());
}
CloseHandle(Token);