diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-29 17:51:39 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-03-29 17:51:46 -0500 |
commit | 897cacf4679f69bb8e224a09366cef274af575f2 (patch) | |
tree | dbea0815362ccc0a8fb9ab339b215db658a8afd9 /package/adktest/files | |
parent | cf30b42b711829a86e994060ab72726b18209410 (diff) |
better use -q for grep
Diffstat (limited to 'package/adktest/files')
-rwxr-xr-x | package/adktest/files/adktest.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/adktest/files/adktest.init b/package/adktest/files/adktest.init index ac1a047aa..e1fe9a8c2 100755 --- a/package/adktest/files/adktest.init +++ b/package/adktest/files/adktest.init @@ -11,7 +11,7 @@ autostart) exec sh $0 start ;; start) - grep shell /proc/cmdline > /dev/null 2&>1 + grep -q shell /proc/cmdline if [ $? -eq 0 ];then exit 0 fi |