diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-01-20 12:54:10 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-01-20 12:54:10 +0100 |
commit | cf97d8d5f9449a2102f3e6c92efe4987744c96e9 (patch) | |
tree | 47cf04ea5f3832f060ab5b76625bc022a47861c4 /udev | |
parent | 91b26b63b408b7d7b4f79f0754d190783874e4cc (diff) | |
download | lvm2-cf97d8d5f9449a2102f3e6c92efe4987744c96e9.tar.gz |
udev: clear temporary variable properly
Clear temporary DM_DISABLE_OTHER_RULES_FLAG properly. This did not
cause any bug or problem as the temporary variable is overwritten next
time it's used again, but we should still clean it properly!
Diffstat (limited to 'udev')
-rw-r--r-- | udev/11-dm-lvm.rules.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/11-dm-lvm.rules.in b/udev/11-dm-lvm.rules.in index 9ca037581..91cb991df 100644 --- a/udev/11-dm-lvm.rules.in +++ b/udev/11-dm-lvm.rules.in @@ -33,7 +33,7 @@ IMPORT{program}="(DM_EXEC)/dmsetup splitname --nameprefixes --noheadings --rows ENV{DM_SUBSYSTEM_UDEV_FLAG0}=="1", ENV{DM_NOSCAN}="1", ENV{DM_DISABLE_OTHER_RULES_FLAG_OLD}="$env{DM_UDEV_DISABLE_OTHER_RULES_FLAG}", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="1" ENV{DM_SUBSYSTEM_UDEV_FLAG0}!="1", IMPORT{db}="DM_NOSCAN", IMPORT{db}="DM_DISABLE_OTHER_RULES_FLAG_OLD" ENV{DM_SUBSYSTEM_UDEV_FLAG0}!="1", ENV{DM_NOSCAN}=="1", ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="$env{DM_DISABLE_OTHER_RULES_FLAG_OLD}", \ - ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG_OLD}="", ENV{DM_NOSCAN}="" + ENV{DM_DISABLE_OTHER_RULES_FLAG_OLD}="", ENV{DM_NOSCAN}="" ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end" |