X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Ftar.c;h=f6a9e0d4dd4908d9c2610bf00f23c501cf0f8674;hb=75b511727c15f83976620c48cafeb0036d0087cd;hp=994a0f783d21c9eff84e02cbc6badb1a4d8cacbb;hpb=0ba3b75ad47cc3bcdecd00a103ee97322775217c;p=chaz%2Ftar diff --git a/src/tar.c b/src/tar.c index 994a0f7..f6a9e0d 100644 --- a/src/tar.c +++ b/src/tar.c @@ -1224,7 +1224,7 @@ see the file named COPYING for details.")); if (archive_format == GNU_FORMAT && getenv ("POSIXLY_CORRECT")) archive_format = POSIX_FORMAT; - if ((volume_label_option + if (((volume_label_option && subcommand_option == CREATE_SUBCOMMAND) || incremental_option || multi_volume_option || sparse_option) && archive_format != OLDGNU_FORMAT && archive_format != GNU_FORMAT) USAGE_ERROR ((0, 0,