From c3bcc2a4745ad005188c05c771d7080c01105bfe Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 18 Oct 2013 11:26:17 +0200 Subject: [PATCH] Migration: Print error message on non-existing icinga.cfg. --- tools/migration/icinga2-migrate-config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/migration/icinga2-migrate-config b/tools/migration/icinga2-migrate-config index 236d03da6..2e720e26c 100755 --- a/tools/migration/icinga2-migrate-config +++ b/tools/migration/icinga2-migrate-config @@ -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); } -- 2.40.0