This is an automated email from the ASF dual-hosted git repository.

dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 8cf26bf088e9a085b6589b7421ab9ca5553d5e84
Author: Steve Malenfant <steve.malenf...@cox.com>
AuthorDate: Thu Oct 12 11:20:24 2017 -0400

    Assigning ats_uid after package installation
---
 traffic_ops/bin/traffic_ops_ort.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/traffic_ops/bin/traffic_ops_ort.pl 
b/traffic_ops/bin/traffic_ops_ort.pl
index bb4b865..193f85e 100755
--- a/traffic_ops/bin/traffic_ops_ort.pl
+++ b/traffic_ops/bin/traffic_ops_ort.pl
@@ -204,7 +204,7 @@ if ( $script_mode == $BADASS || $script_mode == 
$INTERACTIVE || $script_mode ==
 
 my $header_comment = &get_header_comment($traffic_ops_host);
 
-my $ats_uid          = getpwnam("ats");
+my $ats_uid;
 
 if ( !defined $traffic_ops_host ) {
        print "FATAL Could not resolve Traffic Ops host!\n";
@@ -1084,6 +1084,7 @@ sub sleep_timer {
 sub process_config_files {
 
        ( $log_level >> $INFO ) && print "\nINFO: ======== Start processing 
config files ========\n";
+       $ats_uid          = getpwnam("ats");
        foreach my $file ( keys %{$cfg_file_tracker} ) {
                ( $log_level >> $DEBUG ) && print "DEBUG Starting processing of 
config file: $file\n";
                my $return = undef;

-- 
To stop receiving notification emails like this one, please contact
dewr...@apache.org.

Reply via email to