Browse Source

(new_volume): Invoke apply_delayed_set_stat before exiting.

Paul Eggert 26 years ago
parent
commit
2ca2d1cb99
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/buffer.c

+ 3 - 1
src/buffer.c

@@ -1541,7 +1541,7 @@ new_volume (enum access_mode access)
       looped = 1;
     }
 
-tryagain:
+ tryagain:
   if (looped)
     {
       /* We have to prompt from now on.  */
@@ -1572,6 +1572,7 @@ tryagain:
 		    && subcommand_option != DIFF_SUBCOMMAND)
 		  WARN ((0, 0, _("WARNING: Archive is incomplete")));
 
+		apply_delayed_set_stat ();
 		exit (TAREXIT_FAILURE);
 	      }
 	    if (input_buffer[0] == '\n'
@@ -1601,6 +1602,7 @@ tryagain:
 		    && subcommand_option != DIFF_SUBCOMMAND)
 		  WARN ((0, 0, _("WARNING: Archive is incomplete")));
 
+		apply_delayed_set_stat ();
 		exit (TAREXIT_FAILURE);
 
 	      case 'n':