aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew James Goins <mjgoins@gmail.com>2015-01-22 12:34:08 -0500
committerMatthew James Goins <mjgoins@gmail.com>2015-01-22 12:34:08 -0500
commit23b7195e1d7bc04da24ed91eec2cc638a60a53ed (patch)
tree4c61639edd6b9f2eae1d24029aea63e37cb83d1a
parente09315c3dd663ce667c3f537dbbe511227368614 (diff)
downloadkvm-manager-23b7195e1d7bc04da24ed91eec2cc638a60a53ed.tar.gz
kvm-manager-23b7195e1d7bc04da24ed91eec2cc638a60a53ed.tar.bz2
Add missing double quotes
-rwxr-xr-xkvm-manager4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvm-manager b/kvm-manager
index 321bcb5..793636a 100755
--- a/kvm-manager
+++ b/kvm-manager
@@ -30,7 +30,7 @@ up() {
modprobe -v tun
ip tuntap add dev "$TAP" mode tap user "$OWNER"
ip link set "$TAP" up
- brctl addif $BRIDGE "$TAP"
+ brctl addif "$BRIDGE" "$TAP"
chpst -u "$OWNER:$OWNERGROUP" mkdir -p "$OWNERHOME/vms/$VMNAME"
@@ -133,7 +133,7 @@ EOF
down() {
- brctl delif $BRIDGE "$TAP"
+ brctl delif "$BRIDGE" "$TAP"
ip link set "$TAP" down
ip tuntap del mode tap dev "$TAP"
# no need to lock up the block device as well, since the owner might