Skip to content

Commit

Permalink
Fix if condition in cluster/log-dump/log-dump.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
shyamjvs committed Jul 17, 2017
1 parent 12ba9bd commit de09f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/log-dump/log-dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de09f8e

Please sign in to comment.