mirror of https://github.com/Icinga/icinga2.git
Migration: Print error message on non-existing icinga.cfg.
This commit is contained in:
parent
4ef5682354
commit
c3bcc2a474
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue