From aed895fcce2113e8784c5c5edaafd32e932dc464 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 21 May 2023 16:37:36 +0200 Subject: [PATCH] Fix: missing carriage return into message --- scripts/cron/cron_run_jobs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cron/cron_run_jobs.php b/scripts/cron/cron_run_jobs.php index 818f2676af6..0e099224a3b 100755 --- a/scripts/cron/cron_run_jobs.php +++ b/scripts/cron/cron_run_jobs.php @@ -135,7 +135,7 @@ if ($result < 0) { exit(-1); } else { if (empty($user->id)) { - echo "User login: ".$userlogin." does not exists"; + echo "User login: ".$userlogin." does not exists\n"; dol_syslog("User login:".$userlogin." does not exists", LOG_ERR); exit(-1); } @@ -169,7 +169,7 @@ $object = new Cronjob($db); $filter = array(); if (!empty($id)) { if (!is_numeric($id)) { - echo "Error: Bad value for parameter job id"; + echo "Error: Bad value for parameter job id\n"; dol_syslog("cron_run_jobs.php Bad value for parameter job id", LOG_WARNING); exit(); }