From c2d9eefb397d996208ebe48535e61a57b9b74852 Mon Sep 17 00:00:00 2001 From: Bruno MATEU Date: Fri, 12 Jul 2024 01:02:13 +0200 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Bruno MATEU --- yum.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yum.sh b/yum.sh index 49711df..049fea7 100755 --- a/yum.sh +++ b/yum.sh @@ -42,12 +42,12 @@ echo '# TYPE yum_upgrades_pending gauge' if [[ -n "${upgrades}" ]]; then echo "${upgrades}" else - echo 'yum_upgrades_pending{origin="",category=\"all\"} 0' + echo 'yum_upgrades_pending{origin="",category="all"} 0' fi if [[ -n "${security_upgrades}" ]]; then echo "${security_upgrades}" else - echo 'yum_upgrades_pending{origin="",category=\"security\"} 0' + echo 'yum_upgrades_pending{origin="",category="security"} 0' fi