mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
selinux: fix empty_line_after_doc_comments
This commit is contained in:
parent
5e929577a8
commit
0309ccd28b
1 changed files with 0 additions and 1 deletions
|
@ -144,7 +144,6 @@ pub fn set_selinux_security_context(path: &Path, context: Option<&String>) -> Re
|
||||||
/// Err(Error::ContextConversionFailure) => println!("Failed to convert the security context to a string"),
|
/// Err(Error::ContextConversionFailure) => println!("Failed to convert the security context to a string"),
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
||||||
pub fn get_selinux_security_context(path: &Path) -> Result<String, Error> {
|
pub fn get_selinux_security_context(path: &Path) -> Result<String, Error> {
|
||||||
if !is_selinux_enabled() {
|
if !is_selinux_enabled() {
|
||||||
return Err(Error::SELinuxNotEnabled);
|
return Err(Error::SELinuxNotEnabled);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue