]> sourceware.org Git - lvm2.git/commitdiff
vgimportclone.sh: no mixing string and array
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 28 Jun 2017 17:40:34 +0000 (19:40 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 29 Jun 2017 20:23:16 +0000 (22:23 +0200)
Argument mixes string and array. Use * or separate argument.

scripts/vgimportclone.sh

index d5b62a83aef95ca00d8403ccf3b4f681194ccfaa..da79591487cac063259e535dac10d2bb4337818b 100755 (executable)
@@ -29,7 +29,7 @@ LVM="${LVM_BINARY:-lvm}"
 
 die() {
     code=$1; shift
-    echo "Fatal: $@" 1>&2
+    echo "Fatal:" "$@" 1>&2
     exit $code
 }
 
This page took 0.041339 seconds and 5 git commands to generate.