diff options
author | Thomas White <taw@physics.org> | 2010-10-13 15:20:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:03 +0100 |
commit | 0b478031e18a0028b535a5f296a3050e7a6f26a9 (patch) | |
tree | 4fe77fff3ec4f5b19e68d00e767d375393b298b0 /src/indexamajig.c | |
parent | 8c35be50e8380709afe5f84e003f86c3e31ba578 (diff) |
indexamajig: Don't fclose(stdout)
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 5176c9cf..a1a08150 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -799,7 +799,7 @@ int main(int argc, char *argv[]) free(det->panels); free(det); cell_free(cell); - fclose(fh); + if ( fh != stdout ) fclose(fh); STATUS("There were %i images. %i could be indexed, of which %i" " looked sane.\n", n_images, qargs.n_indexable, qargs.n_sane); |