aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Util.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-24 15:54:15 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-24 15:54:15 +0000
commitc9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35 (patch)
treeb4d2bce2a6304470391cbe6167a5f7605fcbbfef /lib/Iurt/Util.pm
parent542eeb9dc0ce7968fc2c4f7a1b478f5e6ad06ec3 (diff)
downloadiurt-c9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35.tar
iurt-c9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35.tar.gz
iurt-c9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35.tar.bz2
iurt-c9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35.tar.xz
iurt-c9e4ac8b4988dfcc37bd51a0d65fb772c6f82e35.zip
(plog_init) simplify
Diffstat (limited to 'lib/Iurt/Util.pm')
-rw-r--r--lib/Iurt/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Util.pm b/lib/Iurt/Util.pm
index 47a197b..5e2f509 100644
--- a/lib/Iurt/Util.pm
+++ b/lib/Iurt/Util.pm
@@ -76,7 +76,7 @@ sub plog_init {
$plog_color = 0 unless -t fileno $plog_file;
- foreach (@plog_prefix) { $_ .= "[$plog_name] " }
+ $_ .= "[$plog_name] " foreach @plog_prefix;
if ($plog_color) {
$plog_prefix[1] .= "$plog_ctr{bold}$plog_ctr{red}";