diff --git a/debian/scripts/tarantool_logrotate b/debian/scripts/tarantool_logrotate index 7959082c1607a0d32fb3501114c313f5018b5c6a..94c27e13b12ded254c3d00b5bd11d0d8ad9059d9 100755 --- a/debian/scripts/tarantool_logrotate +++ b/debian/scripts/tarantool_logrotate @@ -12,7 +12,7 @@ use IO::Socket::INET; exit 0 unless -x PID_DIR; exit 0 unless -x CONFIG_DIR; -for (my @started = glob catfile PID_DIR, '*.pid') { +for (glob catfile PID_DIR, '*.pid') { my $cfg = catfile CONFIG_DIR, basename $_, '.pid'; unless(-r $cfg) {