mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-07 13:55:05 -04:00
do not exit non-zero if folder does not exist
This commit is contained in:
parent
5bdd7b8475
commit
f7831db197
1 changed files with 1 additions and 1 deletions
|
@ -179,8 +179,8 @@ remount_secure() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! test -d "$mount_folder" ; then
|
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"
|
$output_command "INFO: '$mount_folder' folder exists: no"
|
||||||
exit_code=102
|
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
$output_command "INFO: '$mount_folder' folder exists: yes"
|
$output_command "INFO: '$mount_folder' folder exists: yes"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue