mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-25 02:25:33 +07:00
improve
This commit is contained in:
parent
f1da0ce746
commit
8eb4607a0e
@ -113,8 +113,8 @@ remount_secure() {
|
|||||||
mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder" || exit_code=101
|
mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder" || exit_code=101
|
||||||
fi
|
fi
|
||||||
|
|
||||||
new_mount_options="$(findmnt --noheadings "$mount_folder")" || true
|
new_mount_options="$(findmnt --noheadings --output options -- "$mount_folder")" || true
|
||||||
$output_command "INFO: $new_mount_options"
|
$output_command "INFO: '$mount_folder' new_mount_options: $new_mount_options"
|
||||||
|
|
||||||
touch "$status_file_full_path"
|
touch "$status_file_full_path"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user