Skip to content

Commit

Permalink
Improve execute[run owncloud setup] error checking
Browse files Browse the repository at this point in the history
  • Loading branch information
zuazo committed Oct 7, 2015
1 parent c61b18c commit 7a439b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def mysql_password(user)
cwd node['owncloud']['dir']
command(
"sudo -u '#{node[web_server]['user']}' php -f index.php "\
'| { ! grep -iA2 -e error -e failed; }'
'| { ! grep -iA2 -e error -e failed -e "No database drivers"; }'
)
action :nothing
end
Expand Down

0 comments on commit 7a439b7

Please sign in to comment.