mirror of
https://github.com/Spearfoot/disk-burnin-and-testing.git
synced 2026-11-20 06:56:19 -05:00
adapt to code style of the script
This commit is contained in:
parent
75bda45809
commit
85130b4f72
1 changed files with 1 additions and 1 deletions
|
|
@ -286,7 +286,7 @@ readonly LOG_DIR
|
|||
# System information
|
||||
HOSTNAME="$(hostname)"
|
||||
# Try command hostnamectl if HOSTNAME is unset or empty
|
||||
[ -z HOSTNAME ] && HOSTNAME="$(hostnamectl --static)"
|
||||
[ -z "${HOSTNAME}" ] && HOSTNAME="$(hostnamectl --static)"
|
||||
readonly HOSTNAME
|
||||
readonly OS_FLAVOR="$(uname)"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue