From 6eb20c236485991181de9175223fa195479ba369 Mon Sep 17 00:00:00 2001 From: Philipp Schmitt Date: Sat, 4 Feb 2017 09:38:03 +0100 Subject: [PATCH] Fix #32 --- pia-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pia-tools b/pia-tools index 459c775..109d394 100755 --- a/pia-tools +++ b/pia-tools @@ -180,7 +180,7 @@ transmission_peer_port_update() { local transmission_peer_port="$(grep 'peer-port\"' $TRANSMISSION_SETTINGS_FILE | grep -Eo '[0-9]+')" echo -n "Updating transmission's listening port... " # Check if transmission is running - if check_transmission; then + if _is_running transmission; then # get current listening port transmission_peer_port="$(transmission-remote -si | grep Listenport | grep -oE '[0-9]+')" if [[ "$PIA_OPEN_PORT_NEW" != "$transmission_peer_port" ]]; then