mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-19 13:54:29 +05:00
fix: bug in moonraker system check for printer.cfg
This commit is contained in:
@@ -24,7 +24,7 @@ system_check_moonraker(){
|
|||||||
status_msg "Initializing Moonraker installation ..."
|
status_msg "Initializing Moonraker installation ..."
|
||||||
#check for existing printer.cfg and for the location
|
#check for existing printer.cfg and for the location
|
||||||
locate_printer_cfg
|
locate_printer_cfg
|
||||||
if [ ! -z $PRINTER_CFG ]; then
|
if [ -f $PRINTER_CFG ]; then
|
||||||
PRINTER_CFG_FOUND="true"
|
PRINTER_CFG_FOUND="true"
|
||||||
PRINTER_CFG_LOC=$PRINTER_CFG
|
PRINTER_CFG_LOC=$PRINTER_CFG
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user