do not exit non-zero if folder does not exist

This commit is contained in:
Patrick Schleizer 2024-02-22 09:17:41 -05:00
parent 5bdd7b8475
commit f7831db197
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -179,8 +179,8 @@ remount_secure() {
fi
if ! test -d "$mount_folder" ; then
## For example /boot/efi does not always exist on all systems.
$output_command "INFO: '$mount_folder' folder exists: no"
exit_code=102
return 0
fi
$output_command "INFO: '$mount_folder' folder exists: yes"