Skip to content

Commit

Permalink
Fix #32
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt committed Feb 4, 2017
1 parent bd5c6df commit 6eb20c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pia-tools
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6eb20c2

Please sign in to comment.