From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/3] backup: Use filename as specified on console Date: Thu, 02 Dec 2021 12:37:13 +0000 Message-ID: <20211202123715.2525482-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6401429375463071141==" List-Id: --===============6401429375463071141== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Signed-off-by: Michael Tremer --- config/backup/backup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/backup/backup.pl b/config/backup/backup.pl index 8dffbf2e1..0b47af2d6 100644 --- a/config/backup/backup.pl +++ b/config/backup/backup.pl @@ -238,7 +238,7 @@ main() { filename="/tmp/restore.ipf" fi - restore_backup "/tmp/restore.ipf" + restore_backup "${filename}" ;; addonbackup) -- 2.30.2 --===============6401429375463071141==--