1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Pass the current debuglevel down to the forked smbd

This commit is contained in:
Volker Lendecke 2009-02-12 20:41:49 +01:00
parent d3825d5d10
commit ac4c319ed7

View File

@ -309,7 +309,8 @@ struct async_req *rpc_cli_smbd_conn_init_send(TALLOC_CTX *mem_ctx,
printf("no memory");
exit(1);
}
if (asprintf(&smbd_cmd, "%s -F -S", smbd_cmd) == -1) {
if (asprintf(&smbd_cmd, "%s -F -S -d %d", smbd_cmd,
DEBUGLEVEL) == -1) {
printf("no memory");
exit(1);
}