mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 12:39:25 -05: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"
|
$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…
Reference in New Issue
Block a user