aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxigas <maxigas@anargeek.net>2013-08-18 14:38:28 +0000
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2013-08-22 13:34:00 -0400
commitd183ba4577d873d431f4c58cc6e7ba81427f1715 (patch)
tree64ba2748cf8d536e7eee5cfcd368bda08383dcb1
parent3f1b87539c9650bef114704b0d3eb6eb5f740f2e (diff)
downloadkvm-manager-d183ba4577d873d431f4c58cc6e7ba81427f1715.tar.gz
kvm-manager-d183ba4577d873d431f4c58cc6e7ba81427f1715.tar.bz2
corrected typo in the loop through HDA..HDZ for doing udevadm trigger
-rwxr-xr-xkvm-manager2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm-manager b/kvm-manager
index 1c4cf21..7838c04 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -46,7 +46,7 @@ up() {
BOOTCHOICE=d
fi
- for disk in HDA{A..Z}; do
+ for disk in HD{A..Z}; do
if printf "%s" "${!disk}" | grep '^/dev/mapper/'; then
mappername=$(printf "%s" "${!disk}" | sed 's!^/dev/mapper/!!')
udevadm trigger --subsystem-match=block --attr-match=dm/name="$mappername"