Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 491b00d6c -> 72906529f


make sure parent process will wait child exit before fork


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/5d3eac12
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/5d3eac12
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/5d3eac12

Branch: refs/heads/master
Commit: 5d3eac128db024d70c8a8c8e3b322762ba40cf14
Parents: 491b00d
Author: Zhilin Huang <zhilh...@cisco.com>
Authored: Wed Jan 4 11:53:45 2017 +0800
Committer: Dave Neuman <neu...@apache.org>
Committed: Fri Jan 6 13:07:10 2017 -0700

----------------------------------------------------------------------
 traffic_ops/app/lib/UI/Utils.pm | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/5d3eac12/traffic_ops/app/lib/UI/Utils.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/Utils.pm b/traffic_ops/app/lib/UI/Utils.pm
index ddeb2d6..59c2143 100644
--- a/traffic_ops/app/lib/UI/Utils.pm
+++ b/traffic_ops/app/lib/UI/Utils.pm
@@ -384,6 +384,7 @@ sub rascal_hosts_by_cdn {
 
 sub exec_command {
        my ( $class, $command, @args ) = @_;
+       $SIG{CHLD} = 'DEFAULT';
        my $pid    = fork();
        my $result = 0;
 

Reply via email to