diff options
-rw-r--r-- | src/list_events.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/list_events.c b/src/list_events.c index ce48478b..c5f7ff9f 100644 --- a/src/list_events.c +++ b/src/list_events.c @@ -177,7 +177,8 @@ int main(int argc, char *argv[]) if ( evlist == NULL ) { ERROR("Failed to read %s\n", filename); hdfile_close(hdfile); - continue; + ERROR("Aborting creation of event list.\n"); + return 1; } for ( i=0; i<evlist->num_events; i++ ) { |