mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
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:
parent
04984aac91
commit
16bde23e84
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue