From 033b303e9fdb1800576eeaeb83e59e95bd7a6170 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Ara=C3=B1a=20Cruz?= <jonhattan@faita.net> Date: Tue, 7 Feb 2023 13:56:52 +0100 Subject: [PATCH] Actually run duplicity remove-older-than. Fix regression in f007227e4c77554e739632681a9f05951d29324e --- handlers/dup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/dup.in b/handlers/dup.in index c338e47..9c38de3 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -313,7 +313,7 @@ fi if [ "$keep" != "yes" ]; then debug "executing duplicity remove-older-than" debug "$nice $execstr_precmd duplicity remove-older-than $keep --force $execstr_options $execstr_serverpart" - if [ ! $test ]; then + if [ $test = 0 ]; then export PASSPHRASE=$password export SIGN_PASSPHRASE=$signpassword export FTP_PASSWORD=$ftp_password -- GitLab