fix: don't error when there's nothing to prune
This commit is contained in:
parent
290782424e
commit
0e6d890ee9
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ case $1 in
|
|||
done
|
||||
fi
|
||||
|
||||
comm -13 <(realpath /etc/letsencrypt/live/*/*.pem | sort) <(find /etc/letsencrypt/archive/ -name "*.pem" | sort) | xargs rm -v
|
||||
comm -13 <(realpath /etc/letsencrypt/live/*/*.pem | sort) <(find /etc/letsencrypt/archive/ -name "*.pem" | sort) | xargs -r rm -v
|
||||
|
||||
touch "${updated}"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue