dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/0063-Remove-the-legacy-whitespace.patch

8e8941
From fd38b8ea80ff8e0317e12d1d70431148ceedd5fd Mon Sep 17 00:00:00 2001
8e8941
From: Xiao Ni <xni@redhat.com>
8e8941
Date: Tue, 11 Feb 2020 21:44:15 +0800
8e8941
Subject: [RHEL7.9 PATCH 63/77] Remove the legacy whitespace
8e8941
8e8941
The whitespace between Environment= and the true value causes confusion.
8e8941
To avoid confusing other people in future, remove the whitespace to keep
8e8941
it a simple, unambiguous syntax
8e8941
8e8941
Signed-off-by: Xiao Ni <xni@redhat.com>
8e8941
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
8e8941
---
8e8941
 systemd/mdcheck_continue.service  | 2 +-
8e8941
 systemd/mdcheck_start.service     | 2 +-
8e8941
 systemd/mdmonitor-oneshot.service | 2 +-
8e8941
 3 files changed, 3 insertions(+), 3 deletions(-)
8e8941
8e8941
diff --git a/systemd/mdcheck_continue.service b/systemd/mdcheck_continue.service
8e8941
index aa02dde..854317f 100644
8e8941
--- a/systemd/mdcheck_continue.service
8e8941
+++ b/systemd/mdcheck_continue.service
8e8941
@@ -11,7 +11,7 @@ ConditionPathExistsGlob = /var/lib/mdcheck/MD_UUID_*
8e8941
 
8e8941
 [Service]
8e8941
 Type=oneshot
8e8941
-Environment= "MDADM_CHECK_DURATION=6 hours"
8e8941
+Environment="MDADM_CHECK_DURATION=6 hours"
8e8941
 EnvironmentFile=-/run/sysconfig/mdadm
8e8941
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
8e8941
 ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION}
8e8941
diff --git a/systemd/mdcheck_start.service b/systemd/mdcheck_start.service
8e8941
index da62d5f..3bb3d13 100644
8e8941
--- a/systemd/mdcheck_start.service
8e8941
+++ b/systemd/mdcheck_start.service
8e8941
@@ -11,7 +11,7 @@ Wants=mdcheck_continue.timer
8e8941
 
8e8941
 [Service]
8e8941
 Type=oneshot
8e8941
-Environment= "MDADM_CHECK_DURATION=6 hours"
8e8941
+Environment="MDADM_CHECK_DURATION=6 hours"
8e8941
 EnvironmentFile=-/run/sysconfig/mdadm
8e8941
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
8e8941
 ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION}
8e8941
diff --git a/systemd/mdmonitor-oneshot.service b/systemd/mdmonitor-oneshot.service
8e8941
index fd469b1..373955a 100644
8e8941
--- a/systemd/mdmonitor-oneshot.service
8e8941
+++ b/systemd/mdmonitor-oneshot.service
8e8941
@@ -9,7 +9,7 @@
8e8941
 Description=Reminder for degraded MD arrays
8e8941
 
8e8941
 [Service]
8e8941
-Environment=  MDADM_MONITOR_ARGS=--scan
8e8941
+Environment=MDADM_MONITOR_ARGS=--scan
8e8941
 EnvironmentFile=-/run/sysconfig/mdadm
8e8941
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
8e8941
 ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS
8e8941
-- 
8e8941
2.7.5
8e8941