diff options
-rwxr-xr-x | bin/reproducible_maintenance.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 4215880b..3ecb7ef6 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -288,6 +288,7 @@ for i in $PBUIDS ; do # let's be generous and consider 14 hours here... if [ $AGE -gt $(( 14*60*60 )) ] ; then sudo kill -9 $p 2>&1 || (echo "Could not kill:" ; ps -F -p "$p") + sleep 2 # check it's gone AGE=$(ps -p $p -o etimes= || echo 0) if [ $AGE -gt $(( 14*60*60 )) ] ; then |