mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-18 19:33:38 +00:00
fix: independiente de la posición
This commit is contained in:
parent
8ddfa0b065
commit
5828d9f916
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ test -n "$1"
|
||||||
|
|
||||||
# Volcar y eliminar todos los access logs de dos días atrás
|
# Volcar y eliminar todos los access logs de dos días atrás
|
||||||
date="`dateadd today -1d`"
|
date="`dateadd today -1d`"
|
||||||
file="/srv/_storage/$1-${date}.psql.gz"
|
file="`realpath $0 | xargs dirname `/../_storage/$1-${date}.psql.gz"
|
||||||
test -n "${date}"
|
test -n "${date}"
|
||||||
test ! -s "${file}"
|
test ! -s "${file}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue