mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-07-12 14:12:56 +02:00
remove debug
This commit is contained in:
@ -6,7 +6,7 @@ network=`cat .network`
|
||||
|
||||
# check chain
|
||||
chain="test"
|
||||
isMainChain=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep "#testnet=1" -c)
|
||||
isMainChain=$(sudo cat /mnt/hdd/${network}/${network}.conf 2>/dev/null | grep "#testnet=1" -c)
|
||||
if [ ${isMainChain} -gt 0 ];then
|
||||
chain="main"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user