fix filename for logrotate config

This commit is contained in:
Simon Fraser 2015-08-08 23:04:42 +01:00
parent ed9b43e2cc
commit 7da12dc324
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