* Doh! Calling `system' in an END block causes the exit status in $?
to be changed to 0.
This commit is contained in:
		
							parent
							
								
									e51a276907
								
							
						
					
					
						commit
						3cfe65e516
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -32,6 +32,6 @@ sub closeSSHConnection { | ||||||
|     } |     } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| END { closeSSHConnection; } | END { my $saved = $?; closeSSHConnection; $? = $saved; } | ||||||
| 
 | 
 | ||||||
| return 1; | return 1; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue