From 233fa4625bb60ef65c707d28e7c8a51ef5a1d66e Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Sun, 22 Oct 2023 10:49:53 -0400 Subject: [PATCH] output --- 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 577c2ce..e22c69e 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -104,11 +104,11 @@ remount_secure() { fi if findmnt --noheadings "$mount_folder " >/dev/null ; then - ## Already mounted. Using remount. + $output_command "INFO: '$mount_folder' already mounted, therefore using remount." $output_command INFO: Executing: mount --options "remount,${intended_mount_options}" "$mount_folder" mount --options "remount,${intended_mount_options}" "$mount_folder" || exit_code=100 else - ## Not yet mounted. Using mount bind. + $output_command "INFO: '$mount_folder' not yet mounted, therefore using mount bind." $output_command INFO: Executing: mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder" mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder" || exit_code=101 fi