diff options
-rw-r--r-- | libcrystfel/src/stream.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index 5fb6b9fa..f58ff05e 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -1176,11 +1176,6 @@ Stream *stream_open_for_write(const char *filename, st->dtempl_write = dtempl; st->dtempl_read = NULL; - if ( file_exists(filename) ) { - ERROR("Refusing to overwrite stream '%s'!\n", filename); - return NULL; - } - st->fh = fopen(filename, "w"); if ( st->fh == NULL ) { ERROR("Failed to open stream.\n"); |