getenforce takes no arguments. diff --git a/toys/android/getenforce.c b/toys/android/getenforce.c index 465452e..b828ce5 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" _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
