refactoring

This commit is contained in:
Patrick Schleizer 2023-10-22 19:16:12 -04:00
parent ee15f749bb
commit e7aafd64d4
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -134,6 +134,14 @@ $0 3"
exit 1 exit 1
} }
preparation() {
## Debugging.
$output_command "INFO: 'findmnt --list' output at the START."
$output_command "$(findmnt --list)"
$output_command ""
true
}
remount_secure() { remount_secure() {
$output_command "" $output_command ""
@ -273,11 +281,7 @@ end() {
main() { main() {
init init
parse_options "$@" parse_options "$@"
preparation
## Debugging.
$output_command "INFO: 'findmnt --list' output at the START."
$output_command "$(findmnt --list)"
$output_command ""
_boot _boot
_run _run