Skip to content

Commit

Permalink
shellcheck fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swelljoe committed Sep 13, 2017
1 parent 2cb4d68 commit c4f3088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualmin-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ log_debug "install.sh version: $VER"
# Check for a fully qualified hostname
log_debug "Checking for fully qualified hostname..."
name="$(hostname -f)"
if [ ! -z "$forcehostname" ]; then set_hostname $forcehostname
if [ ! -z "$forcehostname" ]; then set_hostname "$forcehostname"
elif ! is_fully_qualified "$name"; then set_hostname
fi

Expand Down

0 comments on commit c4f3088

Please sign in to comment.