From: Andre Noll Date: Thu, 3 Sep 2015 19:35:51 +0000 (+0200) Subject: com_addatt(): Return negative on errors X-Git-Tag: v0.5.6~94^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=00ae8d84bfe8872be809617a31fc11a35e145995;hp=c27a8644af6d285ca6bfd39be9b923ef9f911f78 com_addatt(): Return negative on errors --- 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)