From bb21572d9d3ca2bdf324c005737280c0e27af85c Mon Sep 17 00:00:00 2001 From: lieux <25724815+lieux@users.noreply.github.com> Date: Thu, 29 Jul 2021 13:30:45 +0800 Subject: [PATCH] pfetch: update retired SC code --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index 7aaa9bc..3a709dc 100755 --- a/pfetch +++ b/pfetch @@ -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