Update start.cpp
Changed the /mount_protected command-line switch to be checked before the /mount command-line switch.
This commit is contained in:
parent
19827a8d91
commit
77f705f198
|
@ -665,16 +665,16 @@ BOOL Parse_Command_Line(void)
|
|||
if (end == L'\"')
|
||||
++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) {
|
||||
|
||||
Validate_Box_Name();
|
||||
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
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue