diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-06-11 22:47:27 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-12 09:49:23 +0200 |
commit | 2f4342bbe0913329a6fd58427a88998ca51a5769 (patch) | |
tree | 5d1e8c46e7ae778086a0d15a655770e00e7a5803 | |
parent | 018aa31aa87fa6ecadf989f7327cd7d34afe37cb (diff) | |
download | jenkins.debian.net-2f4342bbe0913329a6fd58427a88998ca51a5769.tar.xz |
reproducible: maintenance: fix syntax
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index f5c67718..63e8398b 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -128,7 +128,7 @@ fi rm $HAYSTACK $RESULT $TOKILL # There are naughty processes spawning childs and leaving them to their grandparents PSCALL="" -for i in "$PBUIDS" ; do +for i in $PBUIDS ; do for p in $(pgrep -u $i) ; do AGE=$(ps -p $p -o etimes= || echo 0) # let's be generous and consider 14 hours here... |