summaryrefslogtreecommitdiff
path: root/lib/chef/provider/launchd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/launchd.rb')
-rw-r--r--lib/chef/provider/launchd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/launchd.rb b/lib/chef/provider/launchd.rb
index c58d4bfa34..0ec8d0cfe1 100644
--- a/lib/chef/provider/launchd.rb
+++ b/lib/chef/provider/launchd.rb
@@ -115,7 +115,7 @@ class Chef
res = Chef::Resource::File.new(@path, run_context)
res.name(@path) if @path
res.backup(backup) if backup
- res.content(content) if content
+ res.content(content) if content?
res.group(group) if group
res.mode(mode) if mode
res.owner(owner) if owner