]> dxcluster.net Git - spider.git/commitdiff
Fix spurious Text::Wrap warning on console.pl
authorDirk Koopman <djk@tobit.co.uk>
Mon, 6 Dec 2021 23:09:27 +0000 (23:09 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Mon, 6 Dec 2021 23:09:27 +0000 (23:09 +0000)
perl/console.pl

index fad52b963e3b94121a3c677489c0d7b25e63698d..faf7c5ce062890e26090264a64b4d617203e038f 100755 (executable)
@@ -605,13 +605,11 @@ $SIG{'HUP'} = \&sig_term;
 
 
 # start upb
-$Text::Wrap::Columns = $cols;
+$Text::Wrap::columns = $cols;
 doresize();
 
 $SIG{__DIE__} = \&sig_term;
 
-$Text::Wrap::columns = $cols;
-
 my $lastmin = 0;