mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 02:54:28 +05:00
fix: typo in moonraker instance count status
This commit is contained in:
@@ -105,10 +105,10 @@ moonraker_status(){
|
|||||||
done
|
done
|
||||||
|
|
||||||
### count amount of moonraker services
|
### count amount of moonraker services
|
||||||
if [ "$(systemctl list-units --full -all -t service --no-legend | grep -F "klipper.service")" ]; then
|
if [ "$(systemctl list-units --full -all -t service --no-legend | grep -F "moonraker.service")" ]; then
|
||||||
instances=1
|
instances=1
|
||||||
else
|
else
|
||||||
instances=$(systemctl list-units --full -all -t service --no-legend | grep -E "klipper-[[:digit:]].service" | wc -l)
|
instances=$(systemctl list-units --full -all -t service --no-legend | grep -E "moonraker-[[:digit:]].service" | wc -l)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### display status
|
### display status
|
||||||
|
|||||||
Reference in New Issue
Block a user