mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
do not exit non-zero if folder does not exist
This commit is contained in:
parent
5bdd7b8475
commit
f7831db197
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user