Skip to content

Commit 395dd81

Browse files
ChrisDrydensylvestre
authored andcommitted
Fix non-exhaustive pattern in selinux doc test
1 parent 42b734b commit 395dd81

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
@@ -90,7 +90,7 @@ cd -
9090
export CARGOFLAGS # tell to make
9191
if [ "${SELINUX_ENABLED}" = 1 ];then
9292
# Build few utils for SELinux for faster build. MULTICALL=y fails...
93-
"${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"
93+
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"
9494
else
9595
# Use MULTICALL=y for faster build
9696
make MULTICALL=y SKIP_UTILS=more

0 commit comments

Comments
 (0)