]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 688d78f1f04032d4d3fd7a74e2b9062d9c7b749c..e3bd40b5425261c97bdf3ed31700ac52ae83884e 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)