mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 13:20:56 +02:00
fix grep count
This commit is contained in:
parent
fa1eb0e233
commit
df8a3d426f
@ -142,7 +142,7 @@ sudo chown admin:admin /mnt/hdd/.tmux.conf.local >> ${logFile} 2>&1
|
||||
sudo ln -s -f /mnt/hdd/.tmux.conf.local /home/admin/.tmux.conf.local >> ${logFile} 2>&1
|
||||
|
||||
# make sure that ./bitcoin/debug.log is switched on
|
||||
debugFile=$(cat /mnt/hdd/${network}/${network}.conf | grep "debuglogfile=")
|
||||
debugFile=$(cat /mnt/hdd/${network}/${network}.conf | grep -c "debuglogfile=")
|
||||
echo "debugFile(${debugFile})" >> ${logFile}
|
||||
if [ "${debugFile}" == "0" ]; then
|
||||
echo "# debug.log: Switching on" >> ${logFile}
|
||||
|
Loading…
x
Reference in New Issue
Block a user