summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index e9e9416c5..86f968ea5 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -371,7 +371,7 @@ sub row_setting_dialog {
my ($path, $user, $group, $perms, $_idx);
$path = $file->get_text;
if ($path !~ m!^/!) {
- warn_dialog(N("Warning"), N("The first character of the path must be a slash (\"/\"):\n\"%s\"", $path));
+ err_dialog(N("Warning"), N("The first character of the path must be a slash (\"/\"):\n\"%s\"", $path));
return 1;
}
if ($usr_check->get_active) {
@@ -381,7 +381,7 @@ sub row_setting_dialog {
$user = $users->entry->get_text;
$group = $groups->entry->get_text;
if (!member($user, @users) || !member($group, @groups)) {
- warn_dialog(N("Warning"), join("\n", N("Both the username and the group must valid!"),
+ err_dialog(N("Warning"), join("\n", N("Both the username and the group must valid!"),
N("User: %s", $user),
N("Group: %s", $group),
)