diff options
author | ytti <saku@ytti.fi> | 2018-04-24 23:46:06 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-24 23:46:06 +0300 |
commit | ab640a5dae582467910c250f38fa79293ddb35c8 (patch) | |
tree | 9cecd6f72d53dc7cc79e3735e1d01e75a99250ff /lib/oxidized/input/ssh.rb | |
parent | f7175a0c276a9e71e0af5b8a730865efa702bdaa (diff) | |
parent | e848b3caba1dadbb1b46ada06b074fbf796fca17 (diff) |
Merge pull request #1299 from jsynack/fsync-to-flush
Change the debug SSH log fsync to a flush
Diffstat (limited to 'lib/oxidized/input/ssh.rb')
-rw-r--r-- | lib/oxidized/input/ssh.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/input/ssh.rb b/lib/oxidized/input/ssh.rb index 27e81e0..37d6e75 100644 --- a/lib/oxidized/input/ssh.rb +++ b/lib/oxidized/input/ssh.rb @@ -100,7 +100,7 @@ module Oxidized ch.on_data do |_ch, data| if Oxidized.config.input.debug? @log.print data - @log.fsync + @log.flush end @output << data @output = @node.model.expects @output |