Skip to content

Commit 9625636

Browse files
committed
Merge remote-tracking branch 'ArrayBolt3/arraybolt3/anondate-get-fix'
2 parents 380de79 + 2292048 commit 9625636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/sbin/anondate-get

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ output_cmd "INFO: Attempting to determine Tor consensus time middle range..."
162162
#output_cmd "INFO: has Tor consensus, ok."
163163
##
164164
## Therefore use 'anondate --show-middle-range' to check if a Tor consensus is already available.
165-
if time_result="$(anondate --show-middle-range &>/dev/null)" ; then
165+
if time_result="$(anondate --show-middle-range 2>/dev/null)" ; then
166166
valid_after="$(anondate --show-valid-after)"
167167
## example valid_after:
168168
## 2021-01-21 15:00:00

0 commit comments

Comments
 (0)