summaryrefslogtreecommitdiff
path: root/dd-resume.in
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-12-19 11:23:31 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-12-19 11:23:38 +0100
commit1f8a6496f660773c6941a8774da7cdcb2d462178 (patch)
tree38cc9d1b4f194754f154c4152c2f433660f2dcd2 /dd-resume.in
parent0a08a6598eba188099f367c6114f561fcbc69e01 (diff)
downloaddd-resume-1f8a6496f660773c6941a8774da7cdcb2d462178.tar.xz
convert log_file to absolute path for permission check
Diffstat (limited to 'dd-resume.in')
-rw-r--r--dd-resume.in2
1 files changed, 1 insertions, 1 deletions
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