Commit 37544eb9 authored by Holger Levsen's avatar Holger Levsen

reproducible maintenance: silence harmless error

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 5fcb5d75
......@@ -78,7 +78,7 @@ fi
# delete old temp directories
#
echo "$(date -u) - Deleting temp directories in $REP_RESULTS/rbuild-debian, older than 3 days."
OLDSTUFF=$(find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -exec ls -lad {} \; || true)
OLDSTUFF=$(find $REP_RESULTS/rbuild-debian -maxdepth 1 -type d -mtime +2 -name "tmp.*" -exec ls -lad {} \; 2>/dev/null|| true)
if [ ! -z "$OLDSTUFF" ] ; then
echo
echo "Old temp directories found in $REP_RESULTS/rbuild-debian"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment