aboutsummaryrefslogtreecommitdiffstats
path: root/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'qemu')
-rwxr-xr-xqemu4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu b/qemu
index 9324f63..535f5e5 100755
--- a/qemu
+++ b/qemu
@@ -49,9 +49,9 @@ get_address_family(){ [ -z "${1##*:*}" ] && echo ipv6 || echo ipv4; }
get_config(){
local configfile="$1"
- local tag = 'routed-subnet'
+ local tag='routed-subnet'
local ns='https://2e8.dk/libvirt-routed-subnet'
- local query = "//*[local-name()='$tag' and namespace-uri()='$ns']"
+ local query="//*[local-name()='$tag' and namespace-uri()='$ns']"
fullxml="$(cat "$configfile")"
routingxml="$(xpath "$query" "$fullxml" || true)"
if [ -z "$routingxml" ] ; then