mirror of
https://github.com/samba-team/samba.git
synced 2025-12-07 20:23:50 +03:00
Fix for check_kernel_oplocks looking for the var directory
before it may need to be created. Jeremy.
This commit is contained in:
@@ -729,12 +729,12 @@ static void usage(char *pname)
|
||||
become_daemon();
|
||||
}
|
||||
|
||||
check_kernel_oplocks();
|
||||
|
||||
if (!directory_exist(lp_lockdir(), NULL)) {
|
||||
mkdir(lp_lockdir(), 0755);
|
||||
}
|
||||
|
||||
check_kernel_oplocks();
|
||||
|
||||
if (is_daemon) {
|
||||
pidfile_create("smbd");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user