summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/split.c b/src/split.c
index 5e203f1b7..9e23f8689 100644
--- a/src/split.c
+++ b/src/split.c
@@ -1175,6 +1175,12 @@ main (int argc, char **argv)
}
}
+ if (k_units != 0 && filter_command)
+ {
+ error (0, 0, _("--filter does not process a chunk extracted to stdout"));
+ usage (EXIT_FAILURE);
+ }
+
/* Handle default case. */
if (split_type == type_undef)
{