diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-29 11:28:02 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-29 11:28:02 +0100 |
commit | cf769d7eef56c57c0099b94c5ece4669b7fb9e68 (patch) | |
tree | b08b09ad36ef91fb4450b0f1762b63262148ea7c /bin | |
parent | 4d72f3aa8e9c840b54e51db71c72a59b4e35c9fe (diff) | |
download | jenkins.debian.net-cf769d7eef56c57c0099b94c5ece4669b7fb9e68.tar.xz |
reproducible: do housekeeping less errorsome
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_housekeeping.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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:" |