mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:03:35 +07:00
remount-secure dracut module: improve output
This commit is contained in:
parent
f70f36e6cf
commit
28cb53341d
@ -13,7 +13,9 @@ remount_hook() {
|
||||
if getargbool 1 remountnoexec; then
|
||||
if ! remount-secure --remountnoexec ; then
|
||||
warn "'remount-secure --remountnoexec' failed."
|
||||
return 1
|
||||
fi
|
||||
info "'remount-secure --remountnoexec' success."
|
||||
return 0
|
||||
fi
|
||||
|
||||
@ -21,10 +23,12 @@ remount_hook() {
|
||||
if ! remount-secure ; then
|
||||
warn "'remount-secure' failed."
|
||||
fi
|
||||
info "'remount-secure' success."
|
||||
return 0
|
||||
fi
|
||||
|
||||
warn "Not using remount-secure."
|
||||
return 1
|
||||
}
|
||||
|
||||
remount_hook
|
||||
|
Loading…
Reference in New Issue
Block a user