mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-23 01:13:40 +07:00
refactoring
This commit is contained in:
parent
24d2e26397
commit
3ebe8cf4de
@ -103,7 +103,7 @@ remount_secure() {
|
||||
fi
|
||||
fi
|
||||
|
||||
if echo "$mount_output" | grep --quiet "$mount_folder " ; then
|
||||
if findmnt --noheadings "$mount_folder " >/dev/null ; then
|
||||
## Already mounted. Using remount.
|
||||
$output_command INFO: Executing: mount --options "remount,${intended_mount_options}" "$mount_folder"
|
||||
mount --options "remount,${intended_mount_options}" "$mount_folder" || exit_code=100
|
||||
|
Loading…
Reference in New Issue
Block a user