fix
This commit is contained in:
@@ -71,9 +71,11 @@ 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
|
||||
@@ -81,6 +83,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user