policycoreutils: semanage: set modified correctly

I think I was trying to allow an admin to set a bunch of booleans
from a file, but I later added -i and -o options, which would seem to
be a better way to handle many changes at once.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
This commit is contained in:
Eric Paris 2011-07-19 11:27:22 -04:00
parent a67cd948c4
commit 672eb80648
1 changed files with 2 additions and 1 deletions

View File

@ -364,7 +364,8 @@ Object-specific Options (see above):
if object == "boolean": if object == "boolean":
OBJECT = seobject.booleanRecords(store) OBJECT = seobject.booleanRecords(store)
modify = True if use_file:
modify = True
if object == "module": if object == "module":
OBJECT = seobject.moduleRecords(store) OBJECT = seobject.moduleRecords(store)