* Pause if errors occur.
This commit is contained in:
		
							parent
							
								
									6bafeafb88
								
							
						
					
					
						commit
						8d3c346559
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,7 +11,7 @@ die unless defined $pkgFile;
 | 
			
		|||
# from a web browser, the user gets to see us.
 | 
			
		||||
if (!defined $ENV{"NIX_HAVE_TERMINAL"}) {
 | 
			
		||||
    $ENV{"NIX_HAVE_TERMINAL"} = "1";
 | 
			
		||||
    exec("xterm", "-e", "@bindir@/nix-install-package", "$pkgFile");
 | 
			
		||||
    exec("xterm", "-e", "@shell@", "-c", "@bindir@/nix-install-package '$pkgFile' || read");
 | 
			
		||||
    die "cannot execute `xterm'";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue