mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fixed call to execl() to get argv[0] right (thanks to Herb)
(This used to be commit aaa4db4de3eb16d50d0263c8e69ace6217355f11)
This commit is contained in:
parent
15cf7db4c9
commit
9803496274
@ -41,7 +41,7 @@ void start_smbd(void)
|
||||
|
||||
become_daemon();
|
||||
|
||||
execl(binfile, "-D", NULL);
|
||||
execl(binfile, "smbd", "-D", NULL);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
@ -62,7 +62,7 @@ void start_nmbd(void)
|
||||
|
||||
become_daemon();
|
||||
|
||||
execl(binfile, "-D", NULL);
|
||||
execl(binfile, "nmbd", "-D", NULL);
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user