mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
gpoupdate: Move closer to 80 columns
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
parent
6d77776ce7
commit
3bc0c1f8ee
@ -154,17 +154,23 @@ static void gpoupdate_task_init(struct task_server *task)
|
||||
service->system_session_info = system_session(service->task->lp_ctx);
|
||||
if (!service->system_session_info) {
|
||||
task_server_terminate(task,
|
||||
"gpoupdate: Failed to obtain server credentials\n",
|
||||
"gpoupdate: Failed to obtain server "
|
||||
"credentials\n",
|
||||
true);
|
||||
return;
|
||||
}
|
||||
|
||||
service->sysvscan.interval = lpcfg_parm_int(task->lp_ctx, NULL, "gpoupdate", "config interval", 900); /* in seconds */
|
||||
service->sysvscan.interval = lpcfg_parm_int(task->lp_ctx, NULL,
|
||||
"gpoupdate",
|
||||
"config interval",
|
||||
900); /* in seconds */
|
||||
status = gpoupdate_sysvscan_schedule(service);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
task_server_terminate(task, talloc_asprintf(task,
|
||||
"gpoupdate: Failed to update sysvol scan schedule: %s\n",
|
||||
nt_errstr(status)),
|
||||
task_server_terminate(task,
|
||||
talloc_asprintf(task,
|
||||
"gpoupdate: Failed to update "
|
||||
"sysvol scan schedule: %s\n",
|
||||
nt_errstr(status)),
|
||||
true);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user