diff --git a/usr/bin/remount-secure b/usr/bin/remount-secure index 152ed26..102af4f 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -134,6 +134,14 @@ $0 3" exit 1 } +preparation() { + ## Debugging. + $output_command "INFO: 'findmnt --list' output at the START." + $output_command "$(findmnt --list)" + $output_command "" + true +} + remount_secure() { $output_command "" @@ -273,11 +281,7 @@ end() { main() { init parse_options "$@" - - ## Debugging. - $output_command "INFO: 'findmnt --list' output at the START." - $output_command "$(findmnt --list)" - $output_command "" + preparation _boot _run