aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/auto-naming/update-named-status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/auto-naming/update-named-status.rb b/contrib/auto-naming/update-named-status.rb
index 951e7e687a..b58b24d58f 100755
--- a/contrib/auto-naming/update-named-status.rb
+++ b/contrib/auto-naming/update-named-status.rb
@@ -29,7 +29,7 @@ require 'db-config'
def do_update(verbose)
now = $db.query_row("SELECT max(last_seen) AS max FROM router_claims_nickname")['max']
- unless now == ''
+ unless now
STDERR.puts "Could not find the latest last_seen timestamp. Is the database empty still?"
return
end