From 6e3dd3a73281897d826a6c812acf586a5f2d907e 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 --- 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 6c036ba..14dab96 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.8.1