Add fds redirection
This commit is contained in:
parent
239e7374a1
commit
5409b7ad3c
|
@ -31,7 +31,7 @@ partDisks() {
|
||||||
showDisks
|
showDisks
|
||||||
|
|
||||||
clear
|
clear
|
||||||
result=$(whiptail --yesno "Do you want me to automatically partition and format the disk for you?" 0 0)
|
result=$(whiptail --yesno "Do you want me to automatically partition and format the disk for you?" 0 0 3>&1 1>&2 2>&3)
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
gdisk $disk
|
gdisk $disk
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue