Exit on error.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:11:04 +0000 (23:11 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Feb 2005 23:11:04 +0000 (23:11 +0000)
util.c

diff --git a/util.c b/util.c
index 24365bf..44aefe7 100644 (file)
--- a/util.c
+++ b/util.c
@@ -164,6 +164,8 @@ error(char *format, ...)
        va_start(ap, format);
        vfprintf(stderr, format, ap);
        va_end(ap);
+
+       exit(1);
 }
 
 /* report a warning */