]> git.sesse.net Git - jam/commitdiff
Actually abort if we have no list.
authorsgunderson@bigfoot.com <>
Tue, 13 Feb 2007 19:41:51 +0000 (20:41 +0100)
committersgunderson@bigfoot.com <>
Tue, 13 Feb 2007 19:41:51 +0000 (20:41 +0100)
jam.c

diff --git a/jam.c b/jam.c
index 4836410e5552cc643b187c73f243f6b8ece92c8c..f7417e373b5583e852d24b7a7378c9def90f2be3 100644 (file)
--- a/jam.c
+++ b/jam.c
@@ -393,6 +393,7 @@ int main(int argc, char **argv)
 
        if (destinations == NULL || sources == NULL) {
                fprintf(stderr, "Missing or empty source or destination host list. Aborting.\n");
+               exit(1);
        }
 
        if (do_listen) {