mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
* usr/lib/byobu/disk_io:
- Ensure the detected mount point device exists
This commit is contained in:
parent
479754946c
commit
558da18bf3
2 changed files with 3 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -24,6 +24,8 @@ byobu (5.128) unreleased; urgency=medium
|
|||
usr/bin/byobu-janitor.in:
|
||||
- Test if $HOME/.bashrc exists before modifying it (and potentially
|
||||
creating it)
|
||||
* usr/lib/byobu/disk_io:
|
||||
- Ensure the detected mount point device exists
|
||||
* usr/lib/byobu/logo:
|
||||
- Add logo for OpenWrt
|
||||
* usr/share/byobu/keybindings/f-keys.tmux:
|
||||
|
|
|
@ -50,6 +50,7 @@ __disk_io() {
|
|||
/dev/*) part="${mount_point}";;
|
||||
*) part=$(awk '$2 == mp { print $1 ; exit(0); }' "mp=$mount_point" /etc/mtab);;
|
||||
esac
|
||||
[ -e "$part" ] || return
|
||||
getdisk "$part"
|
||||
local disk=${_RET}
|
||||
local t2=$(date +%s) t1=
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue