aboutsummaryrefslogtreecommitdiff
path: root/src/pies.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pies.c')
-rw-r--r--src/pies.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pies.c b/src/pies.c
index 39467a2..2387cef 100644
--- a/src/pies.c
+++ b/src/pies.c
@@ -928,14 +928,14 @@ _cb_redir (enum grecs_callback_command cmd,
{
grecs_error (locus, 0, _("unknown syslog priority %s"),
value->v.string);
- return 0;
+ return 1;
}
break;
case GRECS_TYPE_ARRAY:
if (assert_grecs_value_type (locus, value->v.arg.v[0],
GRECS_TYPE_STRING))
- return 0;
+ return 1;
if (strtotok (redirtab, value->v.arg.v[0]->v.string, &res))
grecs_error (locus, 0, _("%s: unrecognised redirector type"),
value->v.arg.v[0]->v.string);
@@ -946,11 +946,11 @@ _cb_redir (enum grecs_callback_command cmd,
if (value->v.arg.c != 2)
{
grecs_error (locus, 0, _("wrong number of arguments"));
- return 0;
+ return 1;
}
if (assert_grecs_value_type (locus, value->v.arg.v[1],
GRECS_TYPE_STRING))
- return 0;
+ return 1;
switch (res)
{
@@ -964,7 +964,7 @@ _cb_redir (enum grecs_callback_command cmd,
grecs_error (locus, 0,
_("unknown syslog priority %s"),
value->v.arg.v[1]->v.string);
- return 0;
+ return 1;
}
break;

Return to:

Send suggestions and report system problems to the System administrator.