[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#987153: Typo in anacron log message: "ststus" should be "status"



Package: anacron
Version: 2.3-30
Tags: patch

There is a typo in the log message generated by anacron when it can't
send email. It says "ststus" when it should say "status".

>From 2c1a21af2eb173119187489e55605f1ec292d728 Mon Sep 17 00:00:00 2001
From: Jonathan Kamens <jik@kamens.us>
Date: Sun, 18 Apr 2021 09:51:50 -0400
Subject: [PATCH] Fix typo in log message ("ststus" => "status")

---
 runjob.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runjob.c b/runjob.c
index b5ed26c..f51b2e6 100644
--- a/runjob.c
+++ b/runjob.c
@@ -195,7 +195,7 @@ tend_mailer(job_rec *jr, int status)
 {
     if (WIFEXITED(status) && WEXITSTATUS(status) != 0)
 	complain("Tried to mail output of job `%s', "
-		 "but mailer process (" SENDMAIL ") exited with ststus %d",
+		 "but mailer process (" SENDMAIL ") exited with status %d",
 		 jr->ident, WEXITSTATUS(status));
     else if (!WIFEXITED(status) && WIFSIGNALED(status))
 	complain("Tried to mail output of job `%s', "
-- 
2.30.2


Reply to: