From 120ef10cb82762da63a50085ffd0e106b4f4dc06 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 9 Aug 2024 09:11:15 +0300 Subject: [PATCH] qbittorrent: attempt to exit on connection failure --- bash/usr-local-bin/qbittorrent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/usr-local-bin/qbittorrent b/bash/usr-local-bin/qbittorrent index 3e7e440..f49abc0 100755 --- a/bash/usr-local-bin/qbittorrent +++ b/bash/usr-local-bin/qbittorrent @@ -6,7 +6,7 @@ sleep 5 sudo systemctl start nordvpnd.service sleep 5 systemctl status nordvpnd.service --no-pager -nordvpn connect p2p +nordvpn connect p2p || exit 1 nordvpn set killswitch on nordvpn set autoconnect on nordvpn status