From cf4082dbeba98922ad3dacaec34bb0fcab0390cc Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 20 Mar 2020 20:40:33 +0000 Subject: Avoid failures related to renice and ionice These parts of the backup scripts are optional, so don't fail if they don't work. --- scripts/guix-data-service-create-small-backup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/guix-data-service-create-small-backup') diff --git a/scripts/guix-data-service-create-small-backup b/scripts/guix-data-service-create-small-backup index bc6ed8c..6616c52 100755 --- a/scripts/guix-data-service-create-small-backup +++ b/scripts/guix-data-service-create-small-backup @@ -15,8 +15,8 @@ fi FULL_BACKUP_NAME="guix_data_service_full.dump" SMALL_BACKUP_NAME="guix_data_service_small.dump" -renice 19 -p $$ -ionice -p $$ -c 3 +renice 19 -p $$ || true +ionice -p $$ -c 3 || true TMP_DATABASE=$(mktemp -d -t guix-data-service-database-XXXX) URI=$(pg_tmp -w 0 -d "$TMP_DATABASE") -- cgit v1.2.3