fix filename for logrotate config
This commit is contained in:
parent
5e55104aa6
commit
448aeb9c55
|
@ -259,7 +259,7 @@ if [ $? -ne 0 ]; then
|
||||||
cleanup_exit 1
|
cleanup_exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp $LOGROTATE_CONFIGURATION $TMP_WORK_DIR/$LOGROTATE_DIR/telegraf.conf
|
cp $LOGROTATE_CONFIGURATION $TMP_WORK_DIR/$LOGROTATE_DIR/telegraf
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed to copy $LOGROTATE_CONFIGURATION to packaging directory -- aborting."
|
echo "Failed to copy $LOGROTATE_CONFIGURATION to packaging directory -- aborting."
|
||||||
cleanup_exit 1
|
cleanup_exit 1
|
||||||
|
|
Loading…
Reference in New Issue