aboutsummaryrefslogtreecommitdiffstats
path: root/initramfs-init.in
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-01-16 11:45:08 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2020-01-16 14:50:44 +0000
commit3435a8166cb15044ed89161484d6427d4806dcb7 (patch)
tree861fd6ed069cc5fa6704645f4747ea419364770c /initramfs-init.in
parentf52f14252cd69368ec56cb8b960a256363b08efb (diff)
downloadmkinitfs-3435a8166cb15044ed89161484d6427d4806dcb7.tar.bz2
mkinitfs-3435a8166cb15044ed89161484d6427d4806dcb7.tar.xz
initramfs-init: fix openssl list ciphers-commands
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-xinitramfs-init.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 374c352..52e4e5e 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -43,7 +43,7 @@ unpack_apkovl() {
# we need openssl. let apk handle deps
apk add --quiet --initdb --repositories-file $repofile openssl || return 1
- if ! openssl list-cipher-commands | grep "^$suffix$" > /dev/null; then
+ if ! openssl list -1 -cipher-commands | grep "^$suffix$" > /dev/null; then
errstr="Cipher $suffix is not supported"
return 1
fi