Fix if condition in cluster/log-dump/log-dump.sh

pull/6/head
Shyam Jeedigunta 2017-07-17 20:21:43 +02:00
parent 12ba9bdc8c
commit de09f8e569
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ function dump_masters() {
function dump_nodes() {
local node_names
if [[ -n "$1" ]]; then
if [[ -n "${1:-}" ]]; then
echo "Dumping logs for nodes provided as args to dump_nodes() function"
node_names=( "$@" )
elif [[ -n "${use_custom_instance_list}" ]]; then