summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-12-08 13:58:39 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-12-08 14:00:02 +0100
commit98e8f6a77551428d98779509d2ea22369e9701d3 (patch)
treef17b10c865580056b01fc28b7bf5403f700d36a0
parent194ed59e767a6599b5c7f5fe90784c0e438823a6 (diff)
qmi-network: fix bashisms
Equivalent to the fix done in mbim-network, see: https://bugs.freedesktop.org/show_bug.cgi?id=87093
-rwxr-xr-xutils/qmi-network.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/qmi-network.in b/utils/qmi-network.in
index 1470f38..84a46ae 100755
--- a/utils/qmi-network.in
+++ b/utils/qmi-network.in
@@ -47,10 +47,10 @@ version ()
}
if [ $# -ne 2 ]; then
- if [ $1 == "--help" ]; then
+ if [ "$1" == "--help" ]; then
help
exit 0
- elif [ $1 == "--version" ]; then
+ elif [ "$1" == "--version" ]; then
version
exit 0
fi