1
0
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:
Andrew Bartlett 2017-10-24 16:09:17 +13:00 committed by Garming Sam
parent 6d77776ce7
commit 3bc0c1f8ee

View File

@ -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;
}