From 6c65b64c84199c7f90e02789ae9644f3e0c4e980 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Sat, 21 May 2016 10:23:46 +0100 Subject: [PATCH] Bug 16505: Make sure $as_xml will not be used later Signed-off-by: Kyle M Hall --- misc/migration_tools/rebuild_zebra.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl index 6c036bad9d..14dab96b19 100755 --- a/misc/migration_tools/rebuild_zebra.pl +++ b/misc/migration_tools/rebuild_zebra.pl @@ -100,6 +100,7 @@ if (not $result or $want_help) { if ( $as_xml ) { warn "Warning: You passed -x which is already the default and is now deprecated·\n"; + undef $as_xml; # Should not be used later } if( not defined $run_as_root and $run_user eq 'root') { -- 2.39.5