diff options
author | NeilBrown <neilb@suse.com> | 2017-05-05 07:16:15 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-05 17:07:00 +0200 |
commit | dd180cb136d6b2193a58ea0de23b8a7942ca6f36 (patch) | |
tree | 4a24b3ca6b806582839f15774f965a26dfdf5057 /udev-md-raid-creating.rules | |
parent | mdadm/util: unify stat checking blkdev into function (diff) | |
download | mdadm-dd180cb136d6b2193a58ea0de23b8a7942ca6f36.tar.xz mdadm-dd180cb136d6b2193a58ea0de23b8a7942ca6f36.zip |
Fix typo in new udev rule.
As pointed out by Peter Rajnoha, the correct usage in udev is
TEST=="file", not TEST="file".
Also improve a related comment which was a bit informal.
Reported-by: Peter Rajnoha <prajnoha@redhat.com>
Fixes: cd6cbb08c458 ("Create: tell udev md device is not ready when first created.")
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'udev-md-raid-creating.rules')
-rw-r--r-- | udev-md-raid-creating.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev-md-raid-creating.rules b/udev-md-raid-creating.rules index 2be466bc..9bef8d11 100644 --- a/udev-md-raid-creating.rules +++ b/udev-md-raid-creating.rules @@ -4,4 +4,4 @@ # the array is not "ready" and we should make sure the # content is ignored. -KERNEL=="md*", TEST="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0" +KERNEL=="md*", TEST=="/run/mdadm/creating-$kernel", ENV{SYSTEMD_READY}="0" |