From: Benno Schulenberg Date: Sat, 9 Aug 2008 20:44:16 +0000 (+0200) Subject: id: remove superfluous condition test; it is caught at -Z above X-Git-Tag: v7.0~78 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9c088113705a92d2f607acaf45977ad40c1d4cf;p=platform%2Fupstream%2Fcoreutils.git id: remove superfluous condition test; it is caught at -Z above --- diff --git a/src/id.c b/src/id.c index 5b80e7a..156b066 100644 --- a/src/id.c +++ b/src/id.c @@ -173,11 +173,6 @@ main (int argc, char **argv) error (EXIT_FAILURE, 0, _("cannot print security context when user specified")); - if (just_context && !selinux_enabled) - error (EXIT_FAILURE, 0, _("\ -cannot display context when selinux not enabled or when displaying the id\n\ -of a different user")); - /* If we are on a selinux-enabled kernel and no user is specified, get our context. Otherwise, leave the context variable alone - it has been initialized known invalid value and will be not