mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
show full path in ps by setting it in argv[0]
(This used to be commit 89a4dc6cf9175d5fcdd827d90e4fed26576a4570)
This commit is contained in:
parent
9803496274
commit
8ffcec16fe
@ -41,7 +41,7 @@ void start_smbd(void)
|
||||
|
||||
become_daemon();
|
||||
|
||||
execl(binfile, "smbd", "-D", NULL);
|
||||
execl(binfile, binfile, "-D", NULL);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
@ -62,7 +62,7 @@ void start_nmbd(void)
|
||||
|
||||
become_daemon();
|
||||
|
||||
execl(binfile, "nmbd", "-D", NULL);
|
||||
execl(binfile, binfile, "-D", NULL);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user