diff options
| author | lieux <25724815+lieux@users.noreply.github.com> | 2021-07-29 13:30:45 +0800 |
|---|---|---|
| committer | lieux <25724815+lieux@users.noreply.github.com> | 2021-07-29 13:30:45 +0800 |
| commit | bb21572d9d3ca2bdf324c005737280c0e27af85c (patch) | |
| tree | 1f424db3e04c314024b2b801f799032c15faf367 | |
| parent | da06a5c9afa4eb298409637962f44587b23cecf3 (diff) | |
| download | pfetch-bb21572d9d3ca2bdf324c005737280c0e27af85c.tar.gz | |
pfetch: update retired SC code
| -rwxr-xr-x | pfetch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
