Merge pull request #3289 from offhub/fix004

Update start.cpp
This commit is contained in:
DavidXanatos 2023-09-08 20:11:30 +02:00 committed by GitHub
commit ea220efd4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -665,16 +665,16 @@ BOOL Parse_Command_Line(void)
if (end == L'\"') if (end == L'\"')
++cmd; ++cmd;
} else if (_wcsnicmp(cmd, L"mount", 5) == 0) {
Validate_Box_Name();
return die(SbieDll_Mount(BoxName, BoxKey, FALSE) ? EXIT_SUCCESS : EXIT_FAILURE);
} else if (_wcsnicmp(cmd, L"mount_protected", 15) == 0) { } else if (_wcsnicmp(cmd, L"mount_protected", 15) == 0) {
Validate_Box_Name(); Validate_Box_Name();
return die(SbieDll_Mount(BoxName, BoxKey, TRUE) ? EXIT_SUCCESS : EXIT_FAILURE); return die(SbieDll_Mount(BoxName, BoxKey, TRUE) ? EXIT_SUCCESS : EXIT_FAILURE);
} else if (_wcsnicmp(cmd, L"mount", 5) == 0) {
Validate_Box_Name();
return die(SbieDll_Mount(BoxName, BoxKey, FALSE) ? EXIT_SUCCESS : EXIT_FAILURE);
// //
// Command line switch /listpids // Command line switch /listpids
// //