Fix a thinko. Patch from Justus Pendleton <justus@acm.org>
This commit is contained in:
parent
958c78f9a1
commit
62f987e95f
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user