diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/savecore/savecore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 2b9b6d8..c11c15e 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -681,6 +681,8 @@ main(int argc, char **argv) } if (checkfor && (clear || force || keep)) usage(); + if (clear && (compress || keep)) + usage(); argc -= optind; argv += optind; if (argc >= 1) { |