From c485761592a569f59be3f6d1968eff91bf741b68 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sun, 15 Jan 2023 21:25:09 +0100 Subject: debvm-create: carefully handle a -o filename starting with a dash --- bin/debvm-create | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/debvm-create') diff --git a/bin/debvm-create b/bin/debvm-create index d85f82c..2555a8e 100755 --- a/bin/debvm-create +++ b/bin/debvm-create @@ -151,6 +151,7 @@ opt_sshkey() { } opt_output() { IMAGE=$1 + test "${IMAGE#-}" = "$IMAGE" || IMAGE="./$IMAGE" } opt_release() { SUITE=$1 -- cgit v1.2.3