summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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