summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-20 15:20:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-20 15:20:45 +0000
commit144119302f59ba2cf92c4d15d34cae858ca4ca24 (patch)
treea77212bf6ca0be807f44500bee13ee520240b789 /perl-install/standalone/drakperm
parent6af6a0fceebef98791348e6b03aaaf6575cab79c (diff)
downloaddrakx-144119302f59ba2cf92c4d15d34cae858ca4ca24.tar
drakx-144119302f59ba2cf92c4d15d34cae858ca4ca24.tar.gz
drakx-144119302f59ba2cf92c4d15d34cae858ca4ca24.tar.bz2
drakx-144119302f59ba2cf92c4d15d34cae858ca4ca24.tar.xz
drakx-144119302f59ba2cf92c4d15d34cae858ca4ca24.zip
print more understandable error message on parse error
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 7a19992d3..16d47ea31 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -224,7 +224,7 @@ sub load_perms() {
} elsif (m/^(\S+)\s+current?\s+(\d+)/) {
push @rules, { if_($is_uneditable, editable => $pixbuf), path => $1, user => 'current', group => '', perms => $2, index => $index };
} else {
- warn "unparsed \"$_\"line";
+ warn "unparsable \"$_\"line";
}
$index++;
}