Skip to content

Commit

Permalink
Return of the returns
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkrouper committed Dec 12, 2024
1 parent ea8a79b commit 336e69d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/mysql_service_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def initialize_database
bash "#{new_resource.name} initial records" do
code init_records_script
umask '022'
returns [0, 1, 2] # facepalm
not_if { ::File.exist?("#{new_resource.pid_file}") }
action :run
end
Expand Down

0 comments on commit 336e69d

Please sign in to comment.