dt, JobName);
sendit(buf, strlen(buf), arg);
}
- sendit("\n", 1, arg);
+ sendit("====\n", 5, arg);
unlock_last_jobs_list();
}
bnet_fsend(user, "\n");
do_status(bsock_sendit, (void *)user);
- bnet_fsend(user, "====\n");
bnet_sig(user, BNET_EOD);
return 1;
struct s_last_job *job;
bacstat = 0;
+ if (!last_jobs) {
+ return _("Bacula Terminated");
+ }
if (last_jobs->size() > 0) {
job = (struct s_last_job *)last_jobs->first();
switch (job->JobStatus) {