git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5280366
)
Prettify error output.
author
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Tue, 24 Jul 2007 18:38:05 +0000
(18:38 +0000)
committer
Daniel Hokka Zakrisson
<dhokka@cs.princeton.edu>
Tue, 24 Jul 2007 18:38:05 +0000
(18:38 +0000)
src/naddress.c
patch
|
blob
|
history
diff --git
a/src/naddress.c
b/src/naddress.c
index
77bed1b
..
c6cfd73
100644
(file)
--- a/
src/naddress.c
+++ b/
src/naddress.c
@@
-339,6
+339,8
@@
doit(struct Arguments *args)
for (ips = &args->head; ips->next; ips = ips->next) {
tellAddress(&ips->a, args->is_silent);
if (vc_net_add(args->nid, &ips->a) != (int)ips->a.count) {
+ if (!args->is_silent)
+ WRITE_MSG(1, "\n");
perror(ENSC_WRAPPERS_PREFIX "vc_net_add()");
exit(wrapper_exit_code);
}