Prettify error output.
Daniel Hokka Zakrisson [Tue, 24 Jul 2007 18:38:05 +0000 (18:38 +0000)]
src/naddress.c

index 77bed1b..c6cfd73 100644 (file)
@@ -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);
       }