mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-24 18:40:28 -04:00
fix
This commit is contained in:
parent
ff6bc5d5b6
commit
14cf205579
2 changed files with 4 additions and 4 deletions
|
@ -180,7 +180,7 @@ remount_secure() {
|
|||
|
||||
$output_command "INFO: '$mount_folder' old_mount_options: '$old_mount_options'"
|
||||
|
||||
if echo "$old_mount_options" | grep --quiet "$intended_mount_options" ; then
|
||||
if printf '%s\n' "$old_mount_options" | grep "$intended_mount_options" >/dev/null 2>/dev/null ; then
|
||||
$output_command "INFO: '$mount_folder' has already intended mount options. ('$intended_mount_options')"
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue