projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b6e9464
)
Prettier output on error.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 29 Jul 2007 16:32:32 +0000 (16:32 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sun, 29 Jul 2007 16:32:32 +0000 (16:32 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2570
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
src/naddress.c
patch
|
blob
|
history
diff --git
a/src/naddress.c
b/src/naddress.c
index
2f7e8f6
..
035bc9f
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);
}