Skip to content

Commit

Permalink
Preserve permissions (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryan-aguilar authored Oct 15, 2023
1 parent f3de4b7 commit a1cc0a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ctl/linux/aws-otel-collector-ctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ aoc_config_local_uri() {
# Safe to run as this will not overwrite a file if one exists in default location already.
aoc_ensure_default_config() {
if [ ! -f $CONFDIR/config.yaml ]; then
cp $DFT_CONFDIR/.config.yaml $CONFDIR/config.yaml
cp -p $DFT_CONFDIR/.config.yaml $CONFDIR/config.yaml
fi
}

Expand Down

0 comments on commit a1cc0a8

Please sign in to comment.