From 1f8a6496f660773c6941a8774da7cdcb2d462178 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 19 Dec 2023 11:23:31 +0100 Subject: convert log_file to absolute path for permission check --- dd-resume.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-resume.in b/dd-resume.in index 192c6a7..59d75ec 100644 --- a/dd-resume.in +++ b/dd-resume.in @@ -62,7 +62,7 @@ while true; do usage fi shift - log_file="$1" + log_file=$(readlink -f "$1") ;; --output) if [ -n "${output_device}" ]; then -- cgit v1.2.3-70-g09d2