From 4657ea65f184e0fd87bd7744ae7f5980544ad0c0 Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Sat, 30 Dec 2000 13:00:46 +0000 Subject: [PATCH] removed some '' to make the log more readable --- job.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/job.c b/job.c index e0075e8..628c774 100644 --- a/job.c +++ b/job.c @@ -22,7 +22,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: job.c,v 1.27 2000-12-30 12:55:25 thib Exp $ */ + /* $Id: job.c,v 1.28 2000-12-30 13:00:46 thib Exp $ */ #include "fcron.h" @@ -247,7 +247,7 @@ run_job(struct exe *exeent) exeent->e_pid = pid; line->cl_file->cf_running += 1; - explain("Job `%s' started (pid %d)", line->cl_shell, pid); + explain("Job %s started (pid %d)", line->cl_shell, pid); } @@ -274,16 +274,16 @@ end_job(CL *line, int status, int mailfd, short mailpos) m= (mail_output == 1) ? " (mailing output)" : ""; if (WIFEXITED(status) && WEXITSTATUS(status)==0) { foreground = 0; - debug("Job `%s' terminated%s", line->cl_shell, m); + debug("Job %s terminated%s", line->cl_shell, m); } else if (WIFEXITED(status)) - explain("Job `%s' terminated (exit status: %d)%s", + explain("Job %s terminated (exit status: %d)%s", line->cl_shell, WEXITSTATUS(status), m); else if (WIFSIGNALED(status)) - error("Job `%s' terminated due to signal %d%s", + error("Job %s terminated due to signal %d%s", line->cl_shell, WTERMSIG(status), m); else /* is this possible? */ - error("Job `%s' terminated abnormally %s", line->cl_shell, m); + error("Job %s terminated abnormally %s", line->cl_shell, m); if (mail_output == 1) launch_mailer(line, mailfd); -- 2.47.3