From d9db91609faddd9e57542bc523e703abc85c3116 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 2 Dec 2021 12:37:13 +0000 Subject: [PATCH] backup: Use filename as specified on console 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 8dffbf2e13..0b47af2d65 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.39.5