diff options
author | Yuri Pankov <yuripv@FreeBSD.org> | 2021-04-19 18:39:59 +0000 |
---|---|---|
committer | Yuri Pankov <yuripv@FreeBSD.org> | 2021-04-19 18:39:59 +0000 |
commit | d3f0c032fb8b2d2ee8d491fa95108a3790541662 (patch) | |
tree | 63bd6a98b6eb07273d3813cfafafd049e7e90d39 | |
parent | fad437ba612a7c19f5cf1633e2d0d1c44d4dd478 (diff) |
bsdinstall: restore time selection screen
Apparently new dialog does not like the height of 2 for the
timebox widget, use 0 (minimum size) instead.
Do the same for calendar widget as it does not change the
appearance and to prevent possible future surprises.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D29720
-rwxr-xr-x | usr.sbin/bsdinstall/scripts/time | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bsdinstall/scripts/time b/usr.sbin/bsdinstall/scripts/time index 67e539b53658..cccd5999a035 100755 --- a/usr.sbin/bsdinstall/scripts/time +++ b/usr.sbin/bsdinstall/scripts/time @@ -42,7 +42,7 @@ DATE=$(dialog --backtitle 'FreeBSD Installer' \ --cancel-label 'Skip' \ --defaultno \ --date-format '%Y%m%d%H%M.%S' \ - --calendar '' 2 40 \ + --calendar '' 0 40 \ 2>&1 1>&3) && date $DATE exec 3>&- @@ -54,7 +54,7 @@ TIME=$(dialog --backtitle 'FreeBSD Installer' \ --cancel-label 'Skip' \ --defaultno \ --time-format '%H%M.%S' \ - --timebox '' 2 40 \ + --timebox '' 0 40 \ 2>&1 1>&3) && date $TIME exec 3>&- |