aboutsummaryrefslogtreecommitdiffstats
path: root/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'qemu')
-rwxr-xr-xqemu10
1 files changed, 5 insertions, 5 deletions
diff --git a/qemu b/qemu
index 48bbf39..3ebb55e 100755
--- a/qemu
+++ b/qemu
@@ -78,14 +78,14 @@ node_loop(){
local ret=1
while [ $i -lt 1000 ]; do
$handler $i "$@" || return $ret
- i=$(( $i + 1 ))
+ i=$(( i + 1 ))
ret=0
done
return 2
}
process_gateway(){
- local i=$1
+ local i="$1"
local ifacexml="$2"
local nodexml="$(get_element 'gateway' "$i" "$ifacexml")"
if [ "$nodexml" = "" ] ; then
@@ -104,7 +104,7 @@ process_gateway(){
}
process_host(){
- local i=$1
+ local i="$1"
local ifacexml="$2"
local nodexml="$(get_element 'host' "$i" "$ifacexml")"
if [ "$nodexml" = "" ] ; then
@@ -125,7 +125,7 @@ process_host(){
}
process_route(){
- local i=$1
+ local i="$1"
local ifacexml="$2"
local nodexml="$(get_element 'route' "$i" "$ifacexml")"
if [ "$nodexml" = "" ] ; then
@@ -144,7 +144,7 @@ process_route(){
}
process_iface(){
- local i=$1
+ local i="$1"
local ifacexml="$(get_element 'interface' "$1" "$routingxml")"
if [ "$ifacexml" = "" ] ; then
return 1