For some time now, -i and -P options are mutually exclusive, there's even

a regression test init-i-P.t which asserts this, but it looks I forgot to
update nokey.t regression test.

MFC after:	1 day
This commit is contained in:
Pawel Jakub Dawidek 2006-05-01 09:12:52 +00:00
parent 04984aac91
commit 16bde23e84
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=158209

View File

@ -18,7 +18,7 @@ fi
dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1
geli init -i 0 -P -K ${keyfile} md${no} 2>/dev/null
geli init -P -K ${keyfile} md${no} 2>/dev/null
if [ $? -eq 0 ]; then
echo "ok 2"
else