com_addatt(): Return negative on errors
authorAndre Noll <maan@tuebingen.mpg.de>
Thu, 3 Sep 2015 19:35:51 +0000 (21:35 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Thu, 3 Sep 2015 19:35:51 +0000 (21:35 +0200)
attribute.c

index 688d78f..e3bd40b 100644 (file)
@@ -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)