diff options
Diffstat (limited to 'lib/adei/adei_error.sh')
-rw-r--r-- | lib/adei/adei_error.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/adei/adei_error.sh b/lib/adei/adei_error.sh index 9de4795..63657fe 100644 --- a/lib/adei/adei_error.sh +++ b/lib/adei/adei_error.sh @@ -27,7 +27,7 @@ function adei_print_error { msg="Error communicating with $service" ret=1 elif [ $code -eq 2 ]; then - msg="ADEI host ($adei_host:$adei_port) unreachable" + msg="ADEI host ($adei_host:${adei_port:-80}) unreachable" elif [ $code -eq 3 ]; then msg="Timeout waiting for $service" elif [ $code -eq 4 ]; then |