From d26097aa7762c8b42805cba6435c008f01dcbea6 Mon Sep 17 00:00:00 2001 From: Patrick Vacek Date: Mon, 2 Jul 2018 16:44:36 +0200 Subject: createtoken.sh: remove redundant file check. --- recipes-support/softhsm-testtoken/files/createtoken.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-support/softhsm-testtoken/files/createtoken.sh b/recipes-support/softhsm-testtoken/files/createtoken.sh index b01db47..7b16f4e 100644 --- a/recipes-support/softhsm-testtoken/files/createtoken.sh +++ b/recipes-support/softhsm-testtoken/files/createtoken.sh @@ -5,7 +5,7 @@ if pkcs11-tool --module=/usr/lib/softhsm/libsofthsm2.so -O; then exit 0 fi -if ! ls /var/sota/token/pkey.pem /var/sota/token/client.pem /var/sota/token/pkey.pem; then +if ! ls /var/sota/token/pkey.pem /var/sota/token/client.pem; then # Key/certificate pair is not present, repeat exit 1 fi -- cgit v1.2.3-54-g00ecf