diff --git a/traffic_ops/install/bin/postinstall b/traffic_ops/install/bin/postinstall index be52670b9..835510971 100755 --- a/traffic_ops/install/bin/postinstall +++ b/traffic_ops/install/bin/postinstall @@ -672,7 +672,7 @@ sub profiles_exist { foreach my $profile (@$profiles_response) { if ( !exists $initial_profiles{ $profile->{"name"} } ) { print "Found existing profile (" . $profile->{"name"} . ")\n"; - open( my $reconfigure_defaults_file, '>>', $reconfigure_defaults ) or die("Failed to open() $reconfigure_defaults: $!"); + open( my $reconfigure_defaults_file, '>', $reconfigure_defaults ) or die("Failed to open() $reconfigure_defaults: $!"); close( $reconfigure_defaults_file ); return 1; }