From 374d126b7a34dc0bad9691664591ed3980460290 Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Mon, 8 Dec 2025 15:00:17 +0100 Subject: [PATCH] fix emptyline --- tools/addon/pihole-exporter.sh | 3 --- tools/addon/qbittorrent-exporter.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/tools/addon/pihole-exporter.sh b/tools/addon/pihole-exporter.sh index 95daf1177..4a8d50a03 100644 --- a/tools/addon/pihole-exporter.sh +++ b/tools/addon/pihole-exporter.sh @@ -71,7 +71,6 @@ fi echo -e "${YW}⚠️ pihole-exporter is not installed.${CL}" echo -n "Enter the hostname of pihole, example: (127.0.0.1): " read -er pihole_HOSTNAME -echo echo -n "Enter pihole password: " read -rs pihole_PASSWORD @@ -79,14 +78,12 @@ echo echo -n "Do you want to skip TLS-Verification (if using a self-signed Certificate on Pi-Hole) [y/N]: " read -er pihole_SKIP_TLS -echo if ! [[ "${pihole_SKIP_TLS,,}" =~ ^(y|yes)$ ]]; then pihole_SKIP_TLS="true" fi echo -n "Install qbittorrent-exporter? (y/n): " read -r install_prompt -echo if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}" exit 0 diff --git a/tools/addon/qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh index 9e5fa1f85..653a906f8 100644 --- a/tools/addon/qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -71,11 +71,9 @@ fi echo -e "${YW}⚠️ qbittorrent-exporter is not installed.${CL}" echo -n "Enter URL of qbittorrent, example: (http://127.0.0.1:8080): " read -er QBITTORRENT_BASE_URL -echo echo -n "Enter qbittorrent username: " read -er QBITTORRENT_USERNAME -echo echo -n "Enter qbittorrent password: " read -rs QBITTORRENT_PASSWORD @@ -83,7 +81,6 @@ echo echo -n "Install qbittorrent-exporter? (y/n): " read -r install_prompt -echo if ! [[ "${install_prompt,,}" =~ ^(y|yes)$ ]]; then echo -e "${YW}⚠️ Installation skipped. Exiting.${CL}" exit 0