Revision 675494c9
Added by Hamish Coleman almost 16 years ago
- ID 675494c94eaa52be58b397eb523975b1b28d753d
wconsd.c | ||
---|---|---|
dprintf_to_stdout=0;
|
||
|
||
if (SCM_Start(&sd,argc,argv)!=SVC_OK) {
|
||
dprintf(1,"Service startup failed\n");
|
||
return 1;
|
||
}
|
||
|
win-scm.c | ||
---|---|---|
global_sd->mode=SVC_CONSOLE;
|
||
int err = global_sd->init(argc,argv);
|
||
if (err!=0) {
|
||
printf("SCM_Start_Console: init failed, return code %d\n",err);
|
||
return SVC_FAIL;
|
||
}
|
||
|
Also available in: Unified diff
Quieten down the failed service error path