mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
scripts: fix typos in IPLayeCapacity
This commit is contained in:
parent
bd07a43337
commit
189ea564de
1 changed files with 7 additions and 6 deletions
|
|
@ -131,7 +131,7 @@ iplayercap_launch() {
|
||||||
options="$options -X"
|
options="$options -X"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "${ipdb_enable}" ] && [ "${ipdv_enable}" -eq 1 ]; then
|
if [ -n "${ipdv_enable}" ] && [ "${ipdv_enable}" -eq 1 ]; then
|
||||||
options="$options -o"
|
options="$options -o"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -176,7 +176,8 @@ iplayercap_launch() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
output=$(udpst "${options}" -f jsonf "${host}" 2>&1)
|
cmd="udpst ${options} -f jsonf ${host}"
|
||||||
|
output=$(${cmd} 2>&1)
|
||||||
if [ "$?" -eq 127 ] || [ "$?" -eq 255 ]; then
|
if [ "$?" -eq 127 ] || [ "$?" -eq 255 ]; then
|
||||||
iplayercap_error "Error_Internal" "${proto}"
|
iplayercap_error "Error_Internal" "${proto}"
|
||||||
return
|
return
|
||||||
|
|
@ -321,8 +322,8 @@ iplayercap_launch() {
|
||||||
if json_is_a ModalResult array; then
|
if json_is_a ModalResult array; then
|
||||||
json_select ModalResult
|
json_select ModalResult
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
local idx=1
|
idx=1
|
||||||
local inst=0
|
inst=0
|
||||||
while json_is_a ${idx} object
|
while json_is_a ${idx} object
|
||||||
do
|
do
|
||||||
json_select ${idx}
|
json_select ${idx}
|
||||||
|
|
@ -375,8 +376,8 @@ iplayercap_launch() {
|
||||||
if json_is_a IncrementalResult array; then
|
if json_is_a IncrementalResult array; then
|
||||||
json_select IncrementalResult
|
json_select IncrementalResult
|
||||||
if [ "$?" -eq 0 ]; then
|
if [ "$?" -eq 0 ]; then
|
||||||
local idx=1
|
idx=1
|
||||||
local inst=0
|
inst=0
|
||||||
while json_is_a ${idx} object
|
while json_is_a ${idx} object
|
||||||
do
|
do
|
||||||
json_select ${idx}
|
json_select ${idx}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue