From 645a8c0e5d9843601918268a6d33d5e04e36a408 Mon Sep 17 00:00:00 2001 From: Hristo Date: Sun, 28 Jan 2024 00:11:17 +0200 Subject: [PATCH] make install.sh more pretty --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 58fc759..d3d9453 100755 --- a/install.sh +++ b/install.sh @@ -157,7 +157,7 @@ set_service(){ if [ -f /etc/systemd/system/rpi-mqtt-monitor.service ]; then read -p "Service file already exists. Do you want to remove it? (y/n) " yn case $yn in - [Yy]* ) sudo rm /etc/systemd/system/rpi-mqtt-monitor.service; break;; + [Yy]* ) sudo rm /etc/systemd/system/rpi-mqtt-monitor.service;; [Nn]* ) return;; * ) echo "Please answer y for yes or n for no.";; esac