barefoot
barefoot copied to clipboard
Simplify passphrase grep check
Since grep
returns with exit code 0 when the search string is found, it can be used directly on the if
.
Also, using the -s
option there's no need to check if the file exists.
Thanks for the suggestion. This line is also modified in #90 so I'd suggest we consider making this change after that has been merged.