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:
parent
a67cd948c4
commit
672eb80648
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue