Skip to content

Conversation

Javinator9889
Copy link

According to manual page and StackOverflow, when there is a match grep returns 'SUCCESS', so the logic of the if code must be inverted. In addition, for better output readability, instead of failure the output may be already added as transmission-remote says "Invalid argument" when a torrent has the specific tracker included

According to manual page and StackOverflow, when there is a match grep returns 'SUCCESS', so the logic of the 'if' code must be inverted. In addition, for better output readability, instead of "failure" the output may be "already added" as `transmission-remote` says "Invalid argument" when a torrent has the specific tracker included
The same behavior described in 04d5da1 applies here
@Javinator9889 Javinator9889 changed the title Update manual-tracker grep behaviour Update tracker scripts `grep' behaviour May 25, 2020
@AndrewMarchukov AndrewMarchukov merged commit 9ba9c85 into AndrewMarchukov:master May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants