Skip to content

Commit d351855

Browse files
committed
Fix non-exhaustive pattern in selinux doc test
1 parent 8c69cd0 commit d351855

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/uucore/src/lib/features/selinux.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ pub fn set_selinux_security_context(
219219
/// Err(SeLinuxError::ContextRetrievalFailure(e)) => println!("Failed to retrieve the security context: {e}"),
220220
/// Err(SeLinuxError::ContextConversionFailure(ctx, e)) => println!("Failed to convert context '{ctx}': {e}"),
221221
/// Err(SeLinuxError::ContextSetFailure(ctx, e)) => println!("Failed to set context '{ctx}': {e}"),
222+
/// Err(SeLinuxError::OperationNotSupported) => println!("Operation not supported"),
222223
/// }
223224
/// ```
224225
pub fn get_selinux_security_context(

util/build-gnu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ cd -
9191
export CARGOFLAGS # tell to make
9292
if [ "${SELINUX_ENABLED}" = 1 ];then
9393
# Build few utils for SELinux for faster build. MULTICALL=y fails...
94-
"${MAKE}" UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami"
94+
make UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami"
9595
else
9696
# Use MULTICALL=y for faster build
9797
make MULTICALL=y SKIP_UTILS=more

0 commit comments

Comments
 (0)