From 5ed8532cf94b54ea1d1e93b840c7ee6c42f08e85 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 2 Aug 2007 17:06:02 +0000 Subject: reindent now that we added a if() { } block --- perl-install/standalone/logdrake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'perl-install/standalone/logdrake') diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake index 4c4342558..bb0fe3e0a 100755 --- a/perl-install/standalone/logdrake +++ b/perl-install/standalone/logdrake @@ -280,13 +280,13 @@ sub parse_file { if ($isTail) { close $F if $F; if (open $F, $file) { - local $_; - while (<$F>) {} #to prevent to output the file twice.. -# $log_text->set_point($log_text->get_length()); - $timer ||= Glib::Timeout->add(1000, sub { - logcolorize($_) while <$F>; - seek $F, 0, 1; - }); + local $_; + while (<$F>) {} #to prevent to output the file twice.. + # $log_text->set_point($log_text->get_length()); + $timer ||= Glib::Timeout->add(1000, sub { + logcolorize($_) while <$F>; + seek $F, 0, 1; + }); } else { my $error = $!; my $string = chomp_(`LC_ALL=C date '+%b %d %T'`) . " " . -- cgit v1.2.1