From 2f4342bbe0913329a6fd58427a88998ca51a5769 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Thu, 11 Jun 2015 22:47:27 +0200 Subject: reproducible: maintenance: fix syntax --- bin/reproducible_maintenance.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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... -- cgit v1.2.3-70-g09d2