Skip to content

Commit 453b5b6

Browse files
committed
fix bug for tracker-add-auto-router.sh
Signed-off-by: coffee <[email protected]>
1 parent 9ba9c85 commit 453b5b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracker-add-auto-router.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for id in $ids ; do
4141
dateo="$(date -D '%s' -d "$(( `date +%s`+1*60 ))" "+%Y-%m-%d %H:%M")"
4242

4343
if [ ! -f "/tmp/TTAA.$id.lock" ]; then
44-
if [[ "( "$(add_date_t)" == "$(dater)" || "$(add_date_t)" == "$(dateo)" )" ]]; then
44+
if [[ "$add_date_t" == "$dater" || "$add_date_t" == "$dateo" ]]; then
4545
hash="$(transmission-remote "$host" --auth="$auth" --torrent "$id" --info | grep '^ Hash: ' | awk '{ print $2 }')"
4646
torrent_name="$(transmission-remote "$host" --auth="$auth" --torrent "$id" --info | grep '^ Name: ' |cut -c 9-)"
4747
add_trackers "$hash" "$id" &

0 commit comments

Comments
 (0)