Fix format string in printf
I knew this was hanging out there, but Antagoynm found it before I was able to resolve it. There was a message from shellcheck regarding this one: SC2059: Don't use variables in the printf format string. Use printf "..%s.." "$foo". Should resolve #181 Signed-off-by: Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
parent
b39606577a
commit
bdfbd51d7b
@ -479,7 +479,7 @@ current CA keypair. If you intended to start a new CA, run init-pki first."
|
|||||||
echo
|
echo
|
||||||
if [ "$kpass" = "$kpass2" ];
|
if [ "$kpass" = "$kpass2" ];
|
||||||
then
|
then
|
||||||
printf "$kpass" > "$out_key_pass_tmp"
|
printf "%s" "$kpass" > "$out_key_pass_tmp"
|
||||||
else
|
else
|
||||||
die "Passphrases do not match."
|
die "Passphrases do not match."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user