Skip to content

Commit

Permalink
zfsbootmenu/bin/zfs-chroot: use tput to reset/clear screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ahesford committed Oct 13, 2023
1 parent ecef4ac commit 0e8ffed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zfsbootmenu/bin/zfs-chroot
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ if ! is_snapshot "${selected}" && ! is_writable "${pool}" ; then
fi
fi

clear
tput reset
tput clear

if ! mountpoint="$( allow_rw=yes mount_zfs "${selected}" )"; then
zerror "failed to mount ${selected}"
Expand Down

0 comments on commit 0e8ffed

Please sign in to comment.