fix: bug in moonraker system check for printer.cfg

This commit is contained in:
th33xitus
2020-09-02 23:18:47 +02:00
parent 7384ed8a0e
commit 34162c4b65

View File

@@ -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