1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

small corrections to the IM.

server-tools/instance-manager/IMService.cpp:
  removed \n from log_info calls as these will be added automatically
server-tools/instance-manager/user_map.cc:
  added back in support for password files using \r\n, this time
  without breaking the const contract.
This commit is contained in:
unknown
2005-08-09 07:57:36 -06:00
parent 88c4ad2435
commit 530abb5c8b
2 changed files with 15 additions and 14 deletions

View File

@ -44,24 +44,24 @@ int HandleServiceOptions(Options options)
if (options.install_as_service)
{
if (winService.IsInstalled())
log_info("Service is already installed\n");
log_info("Service is already installed");
else if (winService.Install())
log_info("Service installed successfully\n");
log_info("Service installed successfully");
else
{
log_info("Service failed to install\n");
log_info("Service failed to install");
ret_val= -1;
}
}
else if (options.remove_service)
{
if (! winService.IsInstalled())
log_info("Service is not installed\n");
log_info("Service is not installed");
else if (winService.Remove())
log_info("Service removed successfully\n");
log_info("Service removed successfully");
else
{
log_info("Service failed to remove\n");
log_info("Service failed to remove");
ret_val= -1;
}
}