summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_housekeeping.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_housekeeping.sh')
-rwxr-xr-xbin/reproducible_housekeeping.sh4
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:"