Bug_5569: FIx, unknown operand & argument expected warnings

This commit is contained in:
Arun Muthusamy 2021-07-27 09:46:16 +02:00
parent 49634a0c0e
commit 2936f538aa

View file

@ -52,7 +52,7 @@ configure_precedence_to_file() {
line="$2"
order_file="$3"
if [ $order == $PREV_ORDER ]; then
if [ $order == "$PREV_ORDER" ]; then
queue_id=${line#*_}
val=${CURR_ORDER}_${queue_id}
echo $val >> $order_file
@ -122,7 +122,7 @@ handle_queue() {
fi
# This is to get the qid per interface.
if [ $INTF_NAME == $ifname ]; then
if [ "$INTF_NAME" == $ifname ]; then
Q_COUNT=$((Q_COUNT + 1))
else
Q_COUNT='0'