summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2018-04-24 23:46:06 +0300
committerGitHub <noreply@github.com>2018-04-24 23:46:06 +0300
commitab640a5dae582467910c250f38fa79293ddb35c8 (patch)
tree9cecd6f72d53dc7cc79e3735e1d01e75a99250ff /lib/oxidized
parentf7175a0c276a9e71e0af5b8a730865efa702bdaa (diff)
parente848b3caba1dadbb1b46ada06b074fbf796fca17 (diff)
Merge pull request #1299 from jsynack/fsync-to-flush
Change the debug SSH log fsync to a flush
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/input/ssh.rb2
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