fix filename for logrotate config

This commit is contained in:
Simon Fraser 2015-08-08 23:04:42 +01:00 committed by Cameron Sparr
parent 5e55104aa6
commit 448aeb9c55
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ if [ $? -ne 0 ]; then
cleanup_exit 1
fi
cp $LOGROTATE_CONFIGURATION $TMP_WORK_DIR/$LOGROTATE_DIR/telegraf.conf
cp $LOGROTATE_CONFIGURATION $TMP_WORK_DIR/$LOGROTATE_DIR/telegraf
if [ $? -ne 0 ]; then
echo "Failed to copy $LOGROTATE_CONFIGURATION to packaging directory -- aborting."
cleanup_exit 1