]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Remove the legacy whitespace
authorXiao Ni <xni@redhat.com>
Tue, 11 Feb 2020 13:44:15 +0000 (21:44 +0800)
committerJes Sorensen <jsorensen@fb.com>
Mon, 24 Feb 2020 21:06:20 +0000 (16:06 -0500)
The whitespace between Environment= and the true value causes confusion.
To avoid confusing other people in future, remove the whitespace to keep
it a simple, unambiguous syntax

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
systemd/mdcheck_continue.service
systemd/mdcheck_start.service
systemd/mdmonitor-oneshot.service

index aa02dde474b58503803344f0ac4250c05c24ba83..854317f117000d9622d432d850b8d9ae08d0d3a0 100644 (file)
@@ -11,7 +11,7 @@ ConditionPathExistsGlob = /var/lib/mdcheck/MD_UUID_*
 
 [Service]
 Type=oneshot
-Environment= "MDADM_CHECK_DURATION=6 hours"
+Environment="MDADM_CHECK_DURATION=6 hours"
 EnvironmentFile=-/run/sysconfig/mdadm
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
 ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION}
index da62d5f90d657cb4514a888842a6138b3ae624a8..3bb3d130801f9c04acad46b70b6b26b819b40b7c 100644 (file)
@@ -11,7 +11,7 @@ Wants=mdcheck_continue.timer
 
 [Service]
 Type=oneshot
-Environment= "MDADM_CHECK_DURATION=6 hours"
+Environment="MDADM_CHECK_DURATION=6 hours"
 EnvironmentFile=-/run/sysconfig/mdadm
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
 ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION}
index fd469b12cc78e50dbfa427960812bef30f408568..373955a2e176785006087094035a61e2c2f30c35 100644 (file)
@@ -9,7 +9,7 @@
 Description=Reminder for degraded MD arrays
 
 [Service]
-Environment=  MDADM_MONITOR_ARGS=--scan
+Environment=MDADM_MONITOR_ARGS=--scan
 EnvironmentFile=-/run/sysconfig/mdadm
 ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
 ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS