[F] Fix fqdn substitution

This commit is contained in:
Azalea 2023-05-15 20:14:09 -07:00
parent a72a49da13
commit e288da8de2

View file

@ -1765,7 +1765,7 @@ get_title() {
;; ;;
*) *)
hostname=${HOSTNAME:-$(hostname)} hostname=${HOSTNAME:-$(hostname)}
hostname=${hostname%.*} hostname=${hostname%%.*}
;; ;;
esac esac