Migration: Print error message on non-existing icinga.cfg.

This commit is contained in:
Michael Friedrich 2013-10-18 11:26:17 +02:00
parent 4ef5682354
commit c3bcc2a474
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ my $type_cnt;
# verify that we have something to read
if ( !-f $icinga1_cfg) {
print "ERROR: Icinga 1.x config file '$icinga1_cfg' not found.\n";
pod2usage(1);
}