]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdcheck: use ${} to pass variable to mdcheck
authorNeilBrown <neilb@suse.de>
Tue, 29 Oct 2019 23:32:41 +0000 (10:32 +1100)
committerJes Sorensen <jsorensen@fb.com>
Tue, 12 Nov 2019 20:37:08 +0000 (15:37 -0500)
commit4ca799c581703d4d0ad840833c037c2fff088ca7
tree137999bb393b979089645c89ebcc20d9bd7fe325
parent6636788aaf4ec0cacaefb6e77592e4a68e70a957
mdcheck: use ${} to pass variable to mdcheck

$MDADM_CHECK_DURATION allows the value to be split on spaces.
${MDADM_CHECK_DURATION} avoids such splitting.

Making this change removes the need for double quoting when setting
the default Environment, and means that double quoting isn't needed
in the EnvironmentFile.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
systemd/mdcheck_continue.service
systemd/mdcheck_start.service