aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-05-14 18:52:22 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:52 +0200
commita5bf4b74d57c6f2d27bf390a80f2cd3e7f3e7830 (patch)
tree555d009ff4ee06eec99a5982abbe5392b8280f42 /utils
parent674a242bdcda536dca6f8ba1da6c7b110e76440c (diff)
downloadexternal_libqmi-a5bf4b74d57c6f2d27bf390a80f2cd3e7f3e7830.zip
external_libqmi-a5bf4b74d57c6f2d27bf390a80f2cd3e7f3e7830.tar.gz
external_libqmi-a5bf4b74d57c6f2d27bf390a80f2cd3e7f3e7830.tar.bz2
qmi-network: don't issue error if clearing already cleared state
Diffstat (limited to 'utils')
-rwxr-xr-xutils/qmi-network2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/qmi-network b/utils/qmi-network
index dc3a6db..1b64a88 100755
--- a/utils/qmi-network
+++ b/utils/qmi-network
@@ -55,7 +55,7 @@ load_state ()
clear_state ()
{
echo "Clearing state..."
- rm $STATE_FILE
+ rm -f $STATE_FILE
}
# qmicli -d /dev/cdc-wdm0 --wds-start-network --client-no-release-cid