summaryrefslogtreecommitdiff
path: root/pacman2pacman-get
diff options
context:
space:
mode:
authorJoseph Graham <joseph@fibreglass.tunachunks>2014-06-17 19:59:36 +0100
committerJoseph Graham <joseph@fibreglass.tunachunks>2014-06-17 19:59:36 +0100
commit29390dba9c7e0e2e8f10cc8c86fdd3f9506a0d72 (patch)
tree7202ba0d5b7c31ee8ac87aa12fbc12d398dd189c /pacman2pacman-get
parentbe665903bc6ceff6dfd36607af5d99546da18d73 (diff)
fixed lethal typo
Diffstat (limited to 'pacman2pacman-get')
-rw-r--r--pacman2pacman-get3
1 files changed, 2 insertions, 1 deletions
diff --git a/pacman2pacman-get b/pacman2pacman-get
index 5a01d8b..9300af4 100644
--- a/pacman2pacman-get
+++ b/pacman2pacman-get
@@ -1,7 +1,7 @@
#! /bin/bash
# /usr/bin/pacman2pacman-get
#
-# Version 1.5.2
+# Version 1.5.3
#
# Copyright (C) 2014 Joseph Graham <joseph@t67.eu>
#
@@ -196,6 +196,7 @@ then
# If there are no peers we remove the torrent from
# transmission, print an error message and exit.
if (( $(transmission-remote -t "${id}" -pi | wc -l) < 2 ))
+ then
transmission-remote -t "${id}" -r
echo "Webseed dead and no peers, removing torrent from transmission and exiting."
exit 1