diff options
Diffstat (limited to 'lib/chef/application/client.rb')
-rw-r--r-- | lib/chef/application/client.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/application/client.rb b/lib/chef/application/client.rb index 706ba93ca0..40838b6879 100644 --- a/lib/chef/application/client.rb +++ b/lib/chef/application/client.rb @@ -119,7 +119,7 @@ class Chef::Application::Client < Chef::Application :description => "Daemonize the process. Accepts an optional integer which is the " \ "number of seconds to wait before the first daemonized run.", - :proc => lambda { |wait| wait =~ /^\d+$/ ? wait.to_i : true } + :proc => lambda { |wait| wait.match?(/^\d+$/) ? wait.to_i : true } end option :pid_file, |