summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index 851384be..d6ec25f8 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -280,7 +280,7 @@ for i in $PBUIDS ; do
done
done
if [ -s $RESULT ] ; then
- for PROCESS in $(cat $RESULT | cut -d " " -f1 | xargs echo) ; do
+ for PROCESS in $(cat $RESULT | cut -d " " -f1 | grep -v ^UID | xargs echo) ; do
AGE=$(ps -p $PROCESS -o etimes= || echo 0)
# a single build may only take half a day, so...
if [ $AGE -gt $(( 12*60*60 )) ] ; then