examples: bash: print errors int stderr
+ whitespace Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
This commit is contained in:
@@ -76,7 +76,7 @@ show_active_ssids()
|
|||||||
BSSID=`get_property $ACTIVE_AP $ACCESS_POINT_IFACE "HwAddress"`
|
BSSID=`get_property $ACTIVE_AP $ACCESS_POINT_IFACE "HwAddress"`
|
||||||
echo "Device '$INTERFACE' is connected to '$SSID' (BSSID=$BSSID)"
|
echo "Device '$INTERFACE' is connected to '$SSID' (BSSID=$BSSID)"
|
||||||
else
|
else
|
||||||
echo "No active AP on device '$INTERFACE'"
|
echo "No active AP on device '$INTERFACE'" >&2
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@@ -61,7 +61,7 @@ disconnect_device ()
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Device with interface '$1' not found."
|
echo "Device with interface '$1' not found." >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user