fix: remove unnecessary new line
This commit is contained in:
parent
ae151c741e
commit
6bb287ca38
1 changed files with 2 additions and 2 deletions
|
|
@ -31,14 +31,14 @@ function updateCore (coinRec, isCurrentlyRunning) {
|
||||||
common.logger.info(`changetype already defined, skipping...`)
|
common.logger.info(`changetype already defined, skipping...`)
|
||||||
} else {
|
} else {
|
||||||
common.logger.info(`Enabling bech32 change addresses in config file..`)
|
common.logger.info(`Enabling bech32 change addresses in config file..`)
|
||||||
common.es(`echo "\nchangetype=bech32" >> /mnt/blockchains/bitcoin/bitcoin.conf`)
|
common.es(`echo "changetype=bech32" >> /mnt/blockchains/bitcoin/bitcoin.conf`)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (common.es(`ps -ef | grep "listenonion=" /mnt/blockchains/bitcoin/bitcoin.conf | { grep -v grep || true; }`)) {
|
if (common.es(`ps -ef | grep "listenonion=" /mnt/blockchains/bitcoin/bitcoin.conf | { grep -v grep || true; }`)) {
|
||||||
common.logger.info(`listenonion already defined, skipping...`)
|
common.logger.info(`listenonion already defined, skipping...`)
|
||||||
} else {
|
} else {
|
||||||
common.logger.info(`Setting 'listenonion=0' in config file...`)
|
common.logger.info(`Setting 'listenonion=0' in config file...`)
|
||||||
common.es(`echo "\nlistenonion=0" >> /mnt/blockchains/bitcoin/bitcoin.conf`)
|
common.es(`echo "listenonion=0" >> /mnt/blockchains/bitcoin/bitcoin.conf`)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isCurrentlyRunning) {
|
if (isCurrentlyRunning) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue