mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
fix info output
This commit is contained in:
@@ -31,7 +31,7 @@ if [ "$1" = "status" ]; then
|
||||
serviceRunning=$(sudo systemctl status electrs --no-page 2>/dev/null | grep -c "active (running)")
|
||||
echo "serviceRunning=${serviceRunning}"
|
||||
if [ ${serviceRunning} -eq 0 ]; then
|
||||
echo "infoSync='Service not running - check: sudo journalctl -u electrs'"
|
||||
echo "infoSync='Not running - check: sudo journalctl -u electrs'"
|
||||
fi
|
||||
|
||||
if [ ${serviceRunning} -eq 1 ]; then
|
||||
|
Reference in New Issue
Block a user