(main,service_main) [_WIN32]: Remove printf for errors

during startup, as logerror will print to stderr or to log file.
Remove logerror for successful installation and removal.
This commit is contained in:
Ron Koenderink 2005-03-06 20:08:52 +00:00
parent d1d7028fc7
commit 0ba025cb4b
2 changed files with 0 additions and 14 deletions

View file

@ -172,21 +172,16 @@ main(int argc, char **argv)
remove_service_set) {
logerror("Can't use -d, -D or -e with either "
"-r or -R options when starting the server");
printf("Can't use -d, -D or -e with either -r "
"or -R options\n");
exit(EXIT_FAILURE);
}
if (debug && install_service_set) {
logerror("Can't use -d with either "
"-i or -I options when starting the server");
printf("Can't use -d with either -i "
"or -I options\n");
exit(EXIT_FAILURE);
}
if (install_service_set && remove_service_set) {
logerror("Can't use both -r or -R and -i or -I options when starting "
"the server");
printf("Can't use both -r or -R and -i or -I options\n");
exit(EXIT_FAILURE);
}
#endif /* _WIN32 */