mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix check
This commit is contained in:
parent
91578f1a6b
commit
fd9e57f0c4
1 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ _createmd()
|
||||||
_DEV=""
|
_DEV=""
|
||||||
else
|
else
|
||||||
if ! [[ "${_LEVEL}" == "raid0" || "${_LEVEL}" == "linear" ]]; then
|
if ! [[ "${_LEVEL}" == "raid0" || "${_LEVEL}" == "linear" ]]; then
|
||||||
if _dialog --yesno --defaultno "Would you like to use ${_DEV} as spare device?" 0 0; then
|
if _dialog --defaultno --yesno "Would you like to use ${_DEV} as spare device?" 0 0; then
|
||||||
echo "${_DEV}" >>/tmp/.raid-spare
|
echo "${_DEV}" >>/tmp/.raid-spare
|
||||||
else
|
else
|
||||||
echo "${_DEV}" >>/tmp/.raid
|
echo "${_DEV}" >>/tmp/.raid
|
||||||
|
|
Loading…
Reference in a new issue