Merge pull request #129 from lieux/fix-shellcheck

pfetch: fix shellcheck warning
This commit is contained in:
dylan 2021-07-29 08:47:21 +03:00 committed by GitHub
commit a9cfc6502e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
pfetch
View File

@ -169,7 +169,7 @@ get_title() {
# Disable the warning about '$HOSTNAME' being undefined in POSIX sh as
# the intention for using it is allowing the user to overwrite the
# value on invocation.
# shellcheck disable=SC2039
# shellcheck disable=SC3028
host=${HOSTNAME:-${host:-$(hostname)}}
# If the hostname is still not found, fallback to the contents of the