mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-25 07:22:07 +00:00
Author: Daniel J Walsh
Email: dwalsh@redhat.com Subject: Make removing of a module a warning rather then an error. Date: Tue, 13 Jan 2009 08:57:17 -0500 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This way if I say a command line semodule -r mypol -i newmypol and mypol was not there the semodule command does not error out. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklsnb0ACgkQrlYvE4MpobNwFACfTqc17wREKC2aAhLOIkfbqgeg GxgAn2/ZBz5ljtyK1aiVkqoCBj98y9Ey =I4uX -----END PGP SIGNATURE----- Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
498861044a
commit
d8b1ea603b
@ -359,6 +359,9 @@ int main(int argc, char *argv[])
|
||||
mode_arg);
|
||||
}
|
||||
result = semanage_module_remove(sh, mode_arg);
|
||||
if ( result == -2 ) {
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case LIST_M:{
|
||||
|
Loading…
Reference in New Issue
Block a user