summaryrefslogtreecommitdiff
path: root/lib/chef/monologger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monologger.rb')
-rw-r--r--lib/chef/monologger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/monologger.rb b/lib/chef/monologger.rb
index 77ca54d7eb..49f744e314 100644
--- a/lib/chef/monologger.rb
+++ b/lib/chef/monologger.rb
@@ -64,7 +64,7 @@ class MonoLogger < Logger
private
def open_logfile(filename)
- if (FileTest.exist?(filename))
+ if FileTest.exist?(filename)
open(filename, (File::WRONLY | File::APPEND))
else
create_logfile(filename)