From d9c088113705a92d2f607acaf45977ad40c1d4cf Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 9 Aug 2008 22:44:16 +0200 Subject: id: remove superfluous condition test; it is caught at -Z above --- src/id.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/id.c') diff --git a/src/id.c b/src/id.c index 5b80e7a24..156b066dd 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 -- cgit v1.2.3