diff options
Diffstat (limited to 'src/postprocess/sort_plz.c')
-rw-r--r-- | src/postprocess/sort_plz.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/postprocess/sort_plz.c b/src/postprocess/sort_plz.c index 4c30ea3..dc0b222 100644 --- a/src/postprocess/sort_plz.c +++ b/src/postprocess/sort_plz.c | |||
@@ -84,6 +84,8 @@ int main(int argc, char **args) { | |||
84 | char *input = malloc(1024); | 84 | char *input = malloc(1024); |
85 | size_t input_size = 1024; | 85 | size_t input_size = 1024; |
86 | 86 | ||
87 | if (argc != 1) exit(1); | ||
88 | |||
87 | /* First open all input files */ | 89 | /* First open all input files */ |
88 | for (i=F_01; i<F_COUNT; ++i) { | 90 | for (i=F_01; i<F_COUNT; ++i) { |
89 | in_handles[i] = fopen_prefix(args[1], i, 1); | 91 | in_handles[i] = fopen_prefix(args[1], i, 1); |