]> granicus.if.org Git - icinga2/commitdiff
Migration: Print error message on non-existing icinga.cfg.
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 18 Oct 2013 09:26:17 +0000 (11:26 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 18 Oct 2013 09:26:17 +0000 (11:26 +0200)
tools/migration/icinga2-migrate-config

index 236d03da64b260f81f4950716c5f53ded68edfa5..2e720e26cbfe075bf6de8fde9e4f83051b8fb72f 100755 (executable)
@@ -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);
 }