-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch looks good to me. acked. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk45uZ0ACgkQrlYvE4MpobN5SgCeMUGeCLYDCy2mKWQ8IMGXHL74 s44AoMix3X0dvGtsi4si9r8rs+Ctyl2I =V9fo -----END PGP SIGNATURE-----
>From 53182ee107ae296a7b0a676574521329a49a15a0 Mon Sep 17 00:00:00 2001 From: Eric Paris <eparis@xxxxxxxxxx> Date: Tue, 19 Jul 2011 11:27:22 -0400 Subject: [PATCH 068/155] policycoreutils: semanage: handle os errors Rather than traceback, handle os errors and exit cleanly. Signed-off-by: Eric Paris <eparis@xxxxxxxxxx> --- policycoreutils/semanage/semanage | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/policycoreutils/semanage/semanage b/policycoreutils/semanage/semanage index c601700..385c429 100644 --- a/policycoreutils/semanage/semanage +++ b/policycoreutils/semanage/semanage @@ -497,3 +497,5 @@ Object-specific Options (see above): errorExit(_("Invalid value %s") % error.args[0]) except IOError, error: errorExit(error.args[1]) + except OSError, error: + errorExit(error.args[1]) -- 1.7.6
Attachment:
0068-policycoreutils-semanage-handle-os-errors.patch.sig
Description: PGP signature