File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 2424 bootnodes=" ${bootnodes} ,$line "
2525 fi
2626done < " $input "
27+ # check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line
28+ if [ -z " ${bootnodes} " ]
29+ then
30+ bootnodes=$line
31+ else
32+ bootnodes=" ${bootnodes} ,$line "
33+ fi
2734
2835log_level=3
2936if test -z " $LOG_LEVEL "
Original file line number Diff line number Diff line change 2424 bootnodes=" ${bootnodes} ,$line "
2525 fi
2626done < " $input "
27+ # check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line
28+ if [ -z " ${bootnodes} " ]
29+ then
30+ bootnodes=$line
31+ else
32+ bootnodes=" ${bootnodes} ,$line "
33+ fi
2734
2835log_level=3
2936if test -z " $LOG_LEVEL "
Original file line number Diff line number Diff line change 2525 bootnodes=" ${bootnodes} ,$line "
2626 fi
2727done < " $input "
28+ # check last line since it's not included in "read" command https://stackoverflow.com/questions/12916352/shell-script-read-missing-last-line
29+ if [ -z " ${bootnodes} " ]
30+ then
31+ bootnodes=$line
32+ else
33+ bootnodes=" ${bootnodes} ,$line "
34+ fi
2835
2936log_level=3
3037if test -z " $LOG_LEVEL "
You can’t perform that action at this time.
0 commit comments