diff options
author | Milan P. Stanić <mps@arvanta.net> | 2020-01-16 11:45:08 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2020-01-16 14:50:44 +0000 |
commit | 3435a8166cb15044ed89161484d6427d4806dcb7 (patch) | |
tree | 861fd6ed069cc5fa6704645f4747ea419364770c | |
parent | f52f14252cd69368ec56cb8b960a256363b08efb (diff) | |
download | mkinitfs-3435a8166cb15044ed89161484d6427d4806dcb7.tar.bz2 mkinitfs-3435a8166cb15044ed89161484d6427d4806dcb7.tar.xz |
initramfs-init: fix openssl list ciphers-commands
-rwxr-xr-x | initramfs-init.in | 2 |
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 |