nix-prefetch-url: Stop progress bar before printing results
This commit is contained in:
		
							parent
							
								
									220c79ec22
								
							
						
					
					
						commit
						7751616645
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -220,6 +220,8 @@ static int _main(int argc, char * * argv)
 | 
				
			||||||
            assert(storePath == store->makeFixedOutputPath(unpack, hash, name));
 | 
					            assert(storePath == store->makeFixedOutputPath(unpack, hash, name));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        stopProgressBar();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!printPath)
 | 
					        if (!printPath)
 | 
				
			||||||
            printInfo(format("path is '%1%'") % storePath);
 | 
					            printInfo(format("path is '%1%'") % storePath);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue