Skip to content

Commit

Permalink
fix client hostname logic
Browse files Browse the repository at this point in the history
closes #286
  • Loading branch information
furlongm committed Feb 17, 2021
1 parent 95697a9 commit c553dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/patchman-client
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ check_conf() {
if [ -z "${hostname}" ] && [ -z "${cli_hostname}" ] ; then
get_hostname
else
if [ ! -z "${cli_server}" ] ; then
server=${cli_server}
if [ ! -z "${cli_hostname}" ] ; then
hostname=${cli_hostname}
fi
fi

Expand Down

0 comments on commit c553dcf

Please sign in to comment.