summaryrefslogtreecommitdiff
path: root/lib/chef/resource/cron_d.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/cron_d.rb')
-rw-r--r--lib/chef/resource/cron_d.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/cron_d.rb b/lib/chef/resource/cron_d.rb
index b4cb5bd831..fe3ef4914c 100644
--- a/lib/chef/resource/cron_d.rb
+++ b/lib/chef/resource/cron_d.rb
@@ -16,7 +16,7 @@
#
require_relative "../resource"
-require "shellwords"
+require "shellwords" unless defined?(Shellwords)
class Chef
class Resource