From f39bd6a9f0ba1378cda8b7a65c3bd803815b2c9e Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Thu, 7 Nov 2013 09:30:59 +0100 Subject: [PATCH] typo --- selftest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selftest.sh b/selftest.sh index cf11be9..b0eafb0 100755 --- a/selftest.sh +++ b/selftest.sh @@ -37,9 +37,9 @@ $dbrun "insert into yubikeys (publicname,internalname,aeskey,serialnr,created,lo set +e -echo '' | php -B "\$_REQUEST => array('otp' => 'idkfefrdhtrutjduvtcjbfeuvhehdvjjlbchtlenfgku');" -F ykksm-decrypt.php | grep -q "^OK counter=0001 low=8d40 high=0f use=00" +echo '' | php -B "\$_REQUEST = array('otp' => 'idkfefrdhtrutjduvtcjbfeuvhehdvjjlbchtlenfgku');" -F ykksm-decrypt.php | grep -q "^OK counter=0001 low=8d40 high=0f use=00" if [ $? != 0 ]; then - echo '' | php -B "\$_REQUEST => array('otp' => 'idkfefrdhtrutjduvtcjbfeuvhehdvjjlbchtlenfgku');" -F ykksm-decrypt.php + echo '' | php -B "\$_REQUEST = array('otp' => 'idkfefrdhtrutjduvtcjbfeuvhehdvjjlbchtlenfgku');" -F ykksm-decrypt.php sudo tail /var/log/apache2/error.log /var/log/apache2/access.log /var/log/auth.log exit 1 else