mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-27 11:09:26 -05:00
refactoring
This commit is contained in:
parent
ed20980f4c
commit
4388fc4d5a
@ -55,7 +55,9 @@ remount_secure() {
|
||||
## example mount_folder:
|
||||
## /home
|
||||
|
||||
if echo "$mount_output" | grep "$mount_folder" | grep -q "$new_mount_options" ; then
|
||||
mount_line_of_mount_folder="$(echo "$mount_output" | grep "$mount_folder")"
|
||||
|
||||
if echo "$mount_line_of_mount_folder" | grep -q "$new_mount_options" ; then
|
||||
echo "INFO: $mount_folder has already intended mount options."
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user