aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Util.pm
diff options
context:
space:
mode:
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 $@;
}