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" }