summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Graham <joseph@xylon.me.uk>2017-06-11 17:36:20 +0100
committerJoseph Graham <joseph@xylon.me.uk>2017-06-11 17:36:20 +0100
commit110fc17388cecc0c6b9b9a7d1b3f752969b84f6a (patch)
treec466937768573da3bf3913f339251c39ae7c728e
parentbb3865227066d7bd3e10f8977324e9768ac5a317 (diff)
Fixed typo that completely broke it !facepalm
-rw-r--r--pacman2pacman-get2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get
index 1ca47c1..265863b 100644
--- a/pacman2pacman-get
+++ b/pacman2pacman-get
@@ -211,7 +211,7 @@ then
until [[ "${progress}" == '100%' ]]
do
# This finds the line with the percent done.
- progress=$(transmission-remote -t "113" -i | grep '[[:digit:]]%$' | head -1)
+ progress=$(transmission-remote -t "${id}" -i | grep '[[:digit:]]%$' | head -1)
progress="${progress##* }" # Remove stuff we don't want
# If we're still at 0.0% after ${webseed_check_after} attempts