mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
selinux: improve the error display
This commit is contained in:
parent
832dd495bf
commit
fde3733bf5
2 changed files with 47 additions and 15 deletions
|
@ -351,6 +351,3 @@ sed -i 's/\/usr\/bin\/tr/$(which tr)/' tests/init.sh
|
|||
# upstream doesn't having the program name in the error message
|
||||
# but we do. We should keep it that way.
|
||||
sed -i 's/echo "changing security context/echo "chcon: changing security context/' tests/chcon/chcon.sh
|
||||
|
||||
# we produce a different error message
|
||||
sed -i -e "s|-e 's/ Not supported$//'|-e 's/ context_new() failed$//'|g" tests/mkdir/selinux.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue