mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:13:40 +07:00
output
This commit is contained in:
parent
52fa7db087
commit
619f1705e1
@ -25,7 +25,7 @@ init() {
|
||||
$output_command "ERROR: must be run as root! sudo $0"
|
||||
exit 1
|
||||
fi
|
||||
$output_command "START"
|
||||
$output_command "$0: INFO: START"
|
||||
|
||||
mkdir --parents "/run/remount-secure"
|
||||
exit_code=0
|
||||
@ -206,6 +206,7 @@ end() {
|
||||
## Debugging.
|
||||
$output_command "INFO: 'findmnt --list' output at the END."
|
||||
$output_command "$(findmnt --list)"
|
||||
$output_command "$0: INFO: END"
|
||||
exit $exit_code
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user