From ffd31bc2444e717ff840d747c1c720d679280729 Mon Sep 17 00:00:00 2001 From: Michal Sojka Date: Tue, 22 Jul 2014 09:31:31 +0200 Subject: [PATCH] Initialize some variables even if /dev/null is passed as novaboot script --- novaboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novaboot b/novaboot index 0a88f69..c3392fb 100755 --- a/novaboot +++ b/novaboot @@ -252,7 +252,7 @@ my @scripts; my $file; my $EOF; my $last_fn = ''; -my ($modules, $variables, $generated, $continuation); +my ($modules, $variables, $generated, $continuation) = ([], {}, []); my $skip_reading = defined($on_opt) || defined($off_opt); while (!$skip_reading && ($_ = <>)) { if ($ARGV ne $last_fn) { # New script -- 2.39.2