From 8eb4607a0e8c3db10f64e4ed5a02e87fd3ee8903 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 22 Oct 2023 11:12:54 -0400 Subject: [PATCH] improve --- usr/bin/remount-secure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/bin/remount-secure b/usr/bin/remount-secure index 5c842ad..d19078b 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -113,8 +113,8 @@ remount_secure() { mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder" || exit_code=101 fi - new_mount_options="$(findmnt --noheadings "$mount_folder")" || true - $output_command "INFO: $new_mount_options" + new_mount_options="$(findmnt --noheadings --output options -- "$mount_folder")" || true + $output_command "INFO: '$mount_folder' new_mount_options: $new_mount_options" touch "$status_file_full_path" }