Move -ignore_session_path to be the first argument

This commit is contained in:
Ondřej Surý 2016-07-12 10:42:56 +02:00
parent b5c223a8ca
commit b6060a1262

View file

@ -52,7 +52,7 @@ done ) | \
sort -u -t: -k 1,1 | \
while IFS=: read -r save_path gc_maxlifetime; do
# find all files older then maxlifetime and delete them
find -O3 "$save_path/" -depth -ignore_readdir_race -mindepth 1 -name 'sess_*' -type f -cmin "+$gc_maxlifetime" -delete
find -O3 "$save_path/" -ignore_readdir_race -depth -mindepth 1 -name 'sess_*' -type f -cmin "+$gc_maxlifetime" -delete
done
exit 0