dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

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

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