Fix bug in logAndExit()
This commit is contained in:
parent
83f908b9da
commit
feb8a5e712
|
@ -31,7 +31,7 @@ logAndExit() {
|
||||||
x = (($1 - $2 + ($2 * 60)) / 60)
|
x = (($1 - $2 + ($2 * 60)) / 60)
|
||||||
printf "%d", (x == int(x)) ? x : int(x) + 1
|
printf "%d", (x == int(x)) ? x : int(x) + 1
|
||||||
}')
|
}')
|
||||||
whiptail --msgbox "$str" $((5+height)) 60
|
whiptail --msgbox "$str" $((5+height)) 60 3>&1 1>&2 2>&3
|
||||||
echo ${2} > CocoASAIS.log
|
echo ${2} > CocoASAIS.log
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue