Fix a thinko. Patch from Justus Pendleton <justus@acm.org>

This commit is contained in:
Eric Andersen 2000-10-09 17:54:38 +00:00
parent 958c78f9a1
commit 62f987e95f
2 changed files with 2 additions and 2 deletions

View File

@ -204,7 +204,7 @@ extern int tar_main(int argc, char **argv)
break;
#if defined BB_FEATURE_TAR_EXCLUDE
case 'e':
if (strcmp(*argv, "-exclude")==0) {
if (strcmp(*argv, "exclude")==0) {
if (--argc == 0) {
fatalError( "Option requires an argument: No file specified\n");
}

2
tar.c
View File

@ -204,7 +204,7 @@ extern int tar_main(int argc, char **argv)
break;
#if defined BB_FEATURE_TAR_EXCLUDE
case 'e':
if (strcmp(*argv, "-exclude")==0) {
if (strcmp(*argv, "exclude")==0) {
if (--argc == 0) {
fatalError( "Option requires an argument: No file specified\n");
}