mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 00:27:23 +01:00 
			
		
		
		
	ProcessManager: remove unnecessary die
This commit is contained in:
		
							parent
							
								
									a0f3d28b80
								
							
						
					
					
						commit
						88d2c283a9
					
				@ -195,7 +195,6 @@ sub execute_process {
 | 
			
		||||
            local $SIG{ALRM} = sub { die "Process `$context->{commands}->[0]` timed-out" };
 | 
			
		||||
            alarm $timeout;
 | 
			
		||||
            $subref->($context);
 | 
			
		||||
            die if $@;
 | 
			
		||||
        };
 | 
			
		||||
        alarm 0;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user