aboutsummaryrefslogtreecommitdiff
path: root/toys/android/getenforce.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-07 13:08:51 -0700
committerRob Landley <rob@landley.net>2015-04-10 20:36:17 -0500
commit39d52a8e5a14b322b862c4dbd43053699db90e70 (patch)
tree533849e3970e99d2eeb13da320211c34de0b2030 /toys/android/getenforce.c
parent8d9623a0ddd69b641e4672185ef86e8674a168c4 (diff)
downloadtoybox-39d52a8e5a14b322b862c4dbd43053699db90e70.tar.gz
getenforce takes no arguments.
Change-Id: Icbee1df8b316039c68ef326f9d4d80f32c603b21
Diffstat (limited to 'toys/android/getenforce.c')
-rw-r--r--toys/android/getenforce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/android/getenforce.c b/toys/android/getenforce.c
index 465452e4..b828ce50 100644
--- a/toys/android/getenforce.c
+++ b/toys/android/getenforce.c
@@ -2,7 +2,7 @@
*
* Copyright 2014 The Android Open Source Project
-USE_GETENFORCE(NEWTOY(getenforce, "", TOYFLAG_USR|TOYFLAG_SBIN))
+USE_GETENFORCE(NEWTOY(getenforce, ">0", TOYFLAG_USR|TOYFLAG_SBIN))
config GETENFORCE
bool "getenforce"