Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions usr/libexec/grub-live/live-hardener
Original file line number Diff line number Diff line change
Expand Up @@ -295,16 +295,6 @@ get_mount_list_to_harden() {
if [ -z "${lsblk_raw_path}" ]; then
continue
fi
## lsblk might not ever output a trailing newline escape under normal
## conditions, in which case it would be better to error out if one was
## found. However, our regression tests include them, so either they are
## faulty, or lsblk can or used to output trailing newline escapes under
## normal conditions.
#if [ -z "${lsblk_raw_path}" ]; then
# printf '%s\n' "$0: ERROR: lsblk returned an empty mount path! Original lsblk output:"
# printf '%s\n' "${lsblk_output}"
# exit 1
#fi
lsblk_path_list+=( "${lsblk_raw_path}" )
lsblk_removable_list+=( "${lsblk_removable}" )
done
Expand Down