Plus propre
This commit is contained in:
1 parent
7936a1d384
commit
8c716dc4db
1 file changed
+2
-3
@@ -6,9 +6,8 @@ BLOCKLIST="/var/lib/transmission/.config/transmission-daemon/blocklists/blocklis
|
||||
if [[ $(find "$BLOCKLIST" -mtime +0 -print) ]]; then
|
||||
transmission-remote --blocklist-update
|
||||
fi
|
||||
|
||||
|
||||
TORRENTLIST=`transmission-remote --list | sed -e '1d;$d;s/^ *//' | cut -f1 -d' '`
|
||||
|
||||
TORRENTLIST=$(transmission-remote --list | sed -e '1d;$d;s/^ *//' | cut -f1 -d' ')
|
||||
|
||||
for TORRENTID in $TORRENTLIST
|
||||
do
|
||||
|
||||
Reference in new issue
Block a user