aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutils/qmi-network.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qmi-network.in b/utils/qmi-network.in
index 8411846..c9ac870 100755
--- a/utils/qmi-network.in
+++ b/utils/qmi-network.in
@@ -127,7 +127,7 @@ if [ -z "$PROFILE_FILE" ]; then
exit 255
fi
-if [ $# -ne 2 ] || [[ $1 == --* ]] || [[ $2 == --* ]]; then
+if [ $# -ne 2 ] || [ "$1" = '--*' ] || [ "$2" = '--*' ]; then
echo "error: missing arguments" 1>&2
print_usage
exit 255