Remove unnecessary code

This commit is contained in:
Ilya Glotov 2017-05-17 17:18:21 +03:00
parent baf297f60e
commit d2fb4a5ca1
No known key found for this signature in database
GPG Key ID: AE18CC224730A36D
1 changed files with 1 additions and 1 deletions

View File

@ -6,5 +6,5 @@ else
lhost = %x(hostname -i)
end
run_single("setg LHOST #{lhost}")
run_single("db_connect #{ENV['DATABASE_URL'].gsub('postgres://', '')}") if ENV['DATABASE_URL']
run_single("db_connect #{ENV['DATABASE_URL']}") if ENV['DATABASE_URL']
</ruby>