Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix close_syslog bug

  • Loading branch information...
commit 870187f380f6d9bdc4a3acb5c6c92da19e26b218 1 parent 4fd7f2e
@nomoto-1 nomoto-1 authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/nats/server/options.rb
View
3  lib/nats/server/options.rb
@@ -124,7 +124,8 @@ def open_syslog
end
def close_syslog
- Syslog.close unless @options[:syslog]
+ return unless @options[:syslog]
+ Syslog.close
end
def symbolize_users(users)
Please sign in to comment.
Something went wrong with that request. Please try again.