Fix depricated variable call in template
It may fire an error in future versions Change-Id: Icc059375ce1887029dadb4c3072bd13976bf2b8b Closes-bug: #1554477
This commit is contained in:
parent
00d80aeab0
commit
97e655014d
|
@ -8,7 +8,7 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|||
find <%= @logpath %> -type f -name 'atop_*' -mtime +<%= @rotate %> -delete
|
||||
|
||||
# remove atop_current if it is a broken symlink
|
||||
test -L <%= @logpath %>/atop_current -a ! -e <%= logpath %>/atop_current && \
|
||||
test -L <%= @logpath %>/atop_current -a ! -e <%= @logpath %>/atop_current && \
|
||||
rm <%= @logpath %>/atop_current
|
||||
|
||||
# link current to most recent file if it exists
|
||||
|
|
Loading…
Reference in New Issue