From 34162c4b652b6d663c4e022b06e3fe1fd0ef87e2 Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Wed, 2 Sep 2020 23:18:47 +0200 Subject: [PATCH] fix: bug in moonraker system check for printer.cfg --- scripts/install_moonraker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_moonraker.sh b/scripts/install_moonraker.sh index 6457c82..58e87d6 100755 --- a/scripts/install_moonraker.sh +++ b/scripts/install_moonraker.sh @@ -24,7 +24,7 @@ system_check_moonraker(){ status_msg "Initializing Moonraker installation ..." #check for existing printer.cfg and for the location locate_printer_cfg - if [ ! -z $PRINTER_CFG ]; then + if [ -f $PRINTER_CFG ]; then PRINTER_CFG_FOUND="true" PRINTER_CFG_LOC=$PRINTER_CFG else