summaryrefslogtreecommitdiff
path: root/lib/chef/resource/sysctl.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/sysctl.rb')
-rw-r--r--lib/chef/resource/sysctl.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/resource/sysctl.rb b/lib/chef/resource/sysctl.rb
index fcc82d09a2..8b745f709e 100644
--- a/lib/chef/resource/sysctl.rb
+++ b/lib/chef/resource/sysctl.rb
@@ -128,11 +128,11 @@ class Chef
end
load_current_value do
- begin
- value get_sysctl_value(key)
- rescue
- current_value_does_not_exist!
- end
+
+ value get_sysctl_value(key)
+ rescue
+ current_value_does_not_exist!
+
end
action :apply do