mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
id: remove superfluous condition test; it is caught at -Z above
This commit is contained in:
1 parent
4290abda87
commit
d9c0881137
1 file changed
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user