mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
* src/id.c (main): Tweak id -Z diagnostic.
This commit is contained in:
1 parent
1532bea5b5
commit
5dd7f137b7
2 files changed
+4
-2
No files matched your search
@@ -1,5 +1,7 @@
|
||||
2007-01-13 Jim Meyering <jim@meyering.net>
|
||||
|
||||
* src/id.c (main): Tweak id -Z diagnostic.
|
||||
|
||||
id: Add SELinux support: -Z option.
|
||||
* src/id.c (main): Apply patches from Fedora, with these changes:
|
||||
Remove #ifdef WITH_SELINUX.
|
||||
|
||||
@@ -141,8 +141,8 @@ main (int argc, char **argv)
|
||||
case 'Z':
|
||||
/* politely decline if we're not on a selinux-enabled kernel. */
|
||||
if (!selinux_enabled)
|
||||
error (EXIT_FAILURE, 0, _("--context (-Z) can be used only on "
|
||||
"an SELinux-enabled kernel"));
|
||||
error (EXIT_FAILURE, 0,
|
||||
_("--context (-Z) works only on an SELinux-enabled kernel"));
|
||||
just_context = 1;
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user