From cf769d7eef56c57c0099b94c5ece4669b7fb9e68 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 29 Oct 2014 11:28:02 +0100 Subject: reproducible: do housekeeping less errorsome --- bin/reproducible_housekeeping.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_housekeeping.sh b/bin/reproducible_housekeeping.sh index 736dfb36..7908909f 100755 --- a/bin/reproducible_housekeeping.sh +++ b/bin/reproducible_housekeeping.sh @@ -59,7 +59,7 @@ fi HAYSTACK=$(mktemp) RESULT=$(mktemp) ps axo pid,user,size,pcpu,cmd > $HAYSTACK -for ZOMBIE in $(pgrep -u 1234 -P 1) ; do +for ZOMBIE in $(pgrep -u 1234 -P 1 || true) ; do # faked-sysv comes and goes... grep ^$ZOMBIE $HAYSTACK | grep -v faked-sysv >> $RESULT 2> /dev/null done @@ -83,7 +83,7 @@ QUERY=" ORDER BY date_scheduled " PACKAGES=$(mktemp) -sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES +sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" > $PACKAGES || echo "Warning: SQL query '$QUERY' failed." if [ -s $PACKAGES ] ; then echo echo "Warning: packages found where the build was started more than 24h ago:" -- cgit v1.2.3-70-g09d2