We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7f2b8e commit df9f472Copy full SHA for df9f472
tracker-add-auto.sh
@@ -39,7 +39,7 @@ while true ; do
39
ids="$(${trans} --list | grep -vE 'Seeding|Stopped|Finished|[[:space:]]100%[[:space:]]' | grep '^ ' | awk '{ print $1 }' | grep -vE 'ID')"
40
for id in $ids ; do
41
add_date="$(${trans} --torrent "$id" --info| grep '^ Date added: ' |cut -c 21-)"
42
- if [ $(uname) = "FreeBSD" ]; then
+ if [ "$(uname)" = "FreeBSD" ]; then
43
add_date_t="$(date -jf "%+" "$add_date" "+%Y-%m-%d %H:%M")"
44
dateo="$(date -jv-1M "+%Y-%m-%d %H:%M")"
45
else
0 commit comments