mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-26 06:55:17 -04:00
output
This commit is contained in:
parent
52fa7db087
commit
619f1705e1
1 changed files with 2 additions and 1 deletions
|
@ -25,7 +25,7 @@ init() {
|
||||||
$output_command "ERROR: must be run as root! sudo $0"
|
$output_command "ERROR: must be run as root! sudo $0"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
$output_command "START"
|
$output_command "$0: INFO: START"
|
||||||
|
|
||||||
mkdir --parents "/run/remount-secure"
|
mkdir --parents "/run/remount-secure"
|
||||||
exit_code=0
|
exit_code=0
|
||||||
|
@ -206,6 +206,7 @@ end() {
|
||||||
## Debugging.
|
## Debugging.
|
||||||
$output_command "INFO: 'findmnt --list' output at the END."
|
$output_command "INFO: 'findmnt --list' output at the END."
|
||||||
$output_command "$(findmnt --list)"
|
$output_command "$(findmnt --list)"
|
||||||
|
$output_command "$0: INFO: END"
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue