From 00ae8d84bfe8872be809617a31fc11a35e145995 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 3 Sep 2015 21:35:51 +0200 Subject: [PATCH] com_addatt(): Return negative on errors --- attribute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attribute.c b/attribute.c index 688d78f1..e3bd40b5 100644 --- a/attribute.c +++ b/attribute.c @@ -266,7 +266,7 @@ static int com_addatt_callback(struct afs_callback_arg *aca) out: if (ret < 0) para_printf(&aca->pbout, "%s: %s\n", p, para_strerror(-ret)); - return 0; + return ret; } int com_addatt(struct command_context *cc) -- 2.39.5