From 897af02d9da7a3d80e4b118537bda81c94783451 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sun, 22 Oct 2023 21:43:46 +0200 Subject: [PATCH] runcon: generate the same error as GNUs tested in tests/runcon/runcon-no-reorder.sh --- src/uu/runcon/src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/runcon/src/errors.rs b/src/uu/runcon/src/errors.rs index 5b62829406..382ab3bed3 100644 --- a/src/uu/runcon/src/errors.rs +++ b/src/uu/runcon/src/errors.rs @@ -26,7 +26,7 @@ pub(crate) enum Error { #[error("No command is specified")] MissingCommand, - #[error("SELinux is not enabled")] + #[error("runcon may be used only on a SELinux kernel")] SELinuxNotEnabled, #[error(transparent)]