aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Util.pm
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-12 18:13:42 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-12 18:13:42 +0000
commit8d9f708ca0b3613a99a2b85f25ef6fad76f16b02 (patch)
tree3b1e900740ad848d6fd93ee5cfcbf24f192600d6 /lib/Iurt/Util.pm
parente480bd5ef56ce52442aa1330a30f03fbf04ff2f9 (diff)
downloadiurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.gz
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.bz2
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.tar.xz
iurt-8d9f708ca0b3613a99a2b85f25ef6fad76f16b02.zip
Get rid of ERR log level
Diffstat (limited to 'lib/Iurt/Util.pm')
-rw-r--r--lib/Iurt/Util.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Iurt/Util.pm b/lib/Iurt/Util.pm
index 3e99154..8a06584 100644
--- a/lib/Iurt/Util.pm
+++ b/lib/Iurt/Util.pm
@@ -53,11 +53,9 @@ my @plog_prefix = (
"D: ",
);
-# FIXME: remove one of ERROR or ERR, check and fix everywhere else
my %plog_level = (
NONE => 0,
ERROR => 1,
- ERR => 1,
WARN => 2,
MSG => 3,
FAIL => 4,
@@ -114,7 +112,7 @@ sub plog {
}
sub pdie {
- plog('ERR', "@_");
+ plog('ERROR', "@_");
die $@;
}