mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 17:02:41 -04:00
output
This commit is contained in:
parent
3ebe8cf4de
commit
233fa4625b
1 changed files with 2 additions and 2 deletions
|
@ -104,11 +104,11 @@ remount_secure() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if findmnt --noheadings "$mount_folder " >/dev/null ; then
|
if findmnt --noheadings "$mount_folder " >/dev/null ; then
|
||||||
## Already mounted. Using remount.
|
$output_command "INFO: '$mount_folder' already mounted, therefore using remount."
|
||||||
$output_command INFO: Executing: mount --options "remount,${intended_mount_options}" "$mount_folder"
|
$output_command INFO: Executing: mount --options "remount,${intended_mount_options}" "$mount_folder"
|
||||||
mount --options "remount,${intended_mount_options}" "$mount_folder" || exit_code=100
|
mount --options "remount,${intended_mount_options}" "$mount_folder" || exit_code=100
|
||||||
else
|
else
|
||||||
## Not yet mounted. Using mount bind.
|
$output_command "INFO: '$mount_folder' not yet mounted, therefore using mount bind."
|
||||||
$output_command INFO: Executing: mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder"
|
$output_command INFO: Executing: mount --options "$intended_mount_options" --bind "$mount_folder" "$mount_folder"
|
||||||
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue