From f7831db197b2fff33b66eeb44efd749e482315e0 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 22 Feb 2024 09:17:41 -0500 Subject: [PATCH] do not exit non-zero if folder does not exist --- usr/bin/remount-secure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/remount-secure b/usr/bin/remount-secure index 7b2c133..1446ac8 100755 --- a/usr/bin/remount-secure +++ b/usr/bin/remount-secure @@ -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"