mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
reject -l switch in any mode besides "install"
This commit is contained in:
parent
8ac4c032c9
commit
423f5b451f
@ -166,7 +166,8 @@ int CLIB_ROUTINE main( int argc, char **argv)
|
||||
|
||||
if (sw_command == COMMAND_NONE ||
|
||||
(!directory && sw_command == COMMAND_INSTALL) ||
|
||||
(directory && sw_command != COMMAND_INSTALL))
|
||||
(directory && sw_command != COMMAND_INSTALL) ||
|
||||
(username && sw_command != COMMAND_INSTALL))
|
||||
usage();
|
||||
|
||||
manager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
|
||||
|
Loading…
Reference in New Issue
Block a user