mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
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
|
# verify that we have something to read
|
||||||
if ( !-f $icinga1_cfg) {
|
if ( !-f $icinga1_cfg) {
|
||||||
|
print "ERROR: Icinga 1.x config file '$icinga1_cfg' not found.\n";
|
||||||
pod2usage(1);
|
pod2usage(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user