[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.46-19-g5ed50ea

Andreas Beckmann debian at abeckmann.de
Sat Sep 15 14:29:53 UTC 2012


The following commit has been merged in the develop branch:
commit a4f940606c09b660134a72bb40b1b5ed5f9ca63b
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sat Sep 15 09:29:39 2012 +0200

    dwke: skip disappearing logfiles
    
    logfiles may be deleted concurrently between listing and analyzing them
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/master-bin/detect_well_known_errors b/master-bin/detect_well_known_errors
index 5b2e26b..211c0ff 100755
--- a/master-bin/detect_well_known_errors
+++ b/master-bin/detect_well_known_errors
@@ -110,6 +110,7 @@ do
 	find pass bugged affected fail -name '*.log' | \
 	while read log
 	do
+		test -f "$log" || continue
 		kpr="${log%.log}.kpr"
 		if [ ! -f "$kpr" ]; then
 			> "$kpr"

-- 
piuparts git repository



More information about the Piuparts-commits mailing list