From 47cf96ef7451495cb2d66fccbb64ecbb3cbb0536 Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 29 Jan 2021 20:12:53 +0100 Subject: [PATCH] fix: more verbose error message --- scripts/install_klipper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_klipper.sh b/scripts/install_klipper.sh index 05f1107..eb505f4 100755 --- a/scripts/install_klipper.sh +++ b/scripts/install_klipper.sh @@ -8,7 +8,7 @@ klipper_setup_dialog(){ ### check for existing klipper service installations if [ "$(systemctl list-units --full -all -t service --no-legend | grep -F "klipper.service")" ] || [ "$(systemctl list-units --full -all -t service --no-legend | grep -E "klipper-[[:digit:]].service")" ]; then - ERROR_MSG="At least one Klipper service is already installed!" && return 0 + ERROR_MSG="At least one Klipper service is already installed!\n Please remove Klipper first, before installing it again." && return 0 fi ### initial printer.cfg path check