Commit cfdaac34 authored by Dylan Araps's avatar Dylan Araps

Disk: Show disk name when subtitle is disabled

parent 01b3df7c
......@@ -1748,7 +1748,11 @@ get_disk() {
esac
# Append '(disk mount point)' to the subtitle.
prin "${subtitle:+${subtitle} (${disk_sub})}" "$disk"
if [[ -z "$subtitle" ]]; then
prin "${disk_sub}" "$disk"
else
prin "${subtitle} (${disk_sub})}" "$disk"
fi
done
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment