mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-10-01 08:25:45 -04:00
fix
This commit is contained in:
parent
1018d5b3b0
commit
0fc97c37be
@ -55,7 +55,7 @@ remount_secure() {
|
||||
## example mount_folder:
|
||||
## /home
|
||||
|
||||
mount_line_of_mount_folder="$(echo "$mount_output" | grep "$mount_folder")"
|
||||
mount_line_of_mount_folder="$(echo "$mount_output" | grep "$mount_folder")" || true
|
||||
|
||||
if echo "$mount_line_of_mount_folder" | grep -q "$new_mount_options" ; then
|
||||
echo "INFO: $mount_folder has already intended mount options."
|
||||
|
Loading…
Reference in New Issue
Block a user