X-Git-Url: http://git.ieval.ro/?p=gruntmaster-data.git;a=blobdiff_plain;f=lib%2FGruntmaster%2FApp.pm;fp=lib%2FGruntmaster%2FApp.pm;h=28c80e29d9527f4e2742dee7b4169ce5e4374830;hp=c867f70b6738a88dfc0ad6c96213015d2ddcc35a;hb=13af733e3f3f26ce7cee8d1f2154f82c93f4c3c3;hpb=e1b6fd19f5724ce68ee92aaeae1c0ddf7a6a2561 diff --git a/lib/Gruntmaster/App.pm b/lib/Gruntmaster/App.pm index c867f70..28c80e2 100644 --- a/lib/Gruntmaster/App.pm +++ b/lib/Gruntmaster/App.pm @@ -21,7 +21,10 @@ sub global_opt_spec { sub table { shift->global_options->{table} } -dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; +sub run { + dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:'; + shift->SUPER::run(@_); +} 1; __END__