refactoring

This commit is contained in:
Patrick Schleizer 2023-10-22 10:41:42 -04:00
parent 24d2e26397
commit 3ebe8cf4de
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -103,7 +103,7 @@ remount_secure() {
fi
fi
if echo "$mount_output" | grep --quiet "$mount_folder " ; then
if findmnt --noheadings "$mount_folder " >/dev/null ; then
## Already mounted. 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