mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
werror: replace WERR_NO_SUCH_SERVICE with WERR_SERVICE_DOES_NOT_EXIST in source3/rpc_server/svcctl/srv_svcctl_nt.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
0dfab6f0a0
commit
59c9c35bea
@ -232,7 +232,7 @@ static WERROR create_open_service_handle(struct pipes_struct *p,
|
||||
/* lookup the SERVICE_CONTROL_OPS */
|
||||
|
||||
if ( !(s_op = find_service_by_name( service )) ) {
|
||||
result = WERR_NO_SUCH_SERVICE;
|
||||
result = WERR_SERVICE_DOES_NOT_EXIST;
|
||||
goto done;
|
||||
}
|
||||
|
||||
@ -245,7 +245,7 @@ static WERROR create_open_service_handle(struct pipes_struct *p,
|
||||
break;
|
||||
|
||||
default:
|
||||
result = WERR_NO_SUCH_SERVICE;
|
||||
result = WERR_SERVICE_DOES_NOT_EXIST;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user