Automate log
This commit is contained in:
parent
dfcfa7ef3a
commit
ecfca86f0e
|
@ -32,7 +32,6 @@ logAndExit() {
|
||||||
printf "%d", (x == int(x)) ? x : int(x) + 1
|
printf "%d", (x == int(x)) ? x : int(x) + 1
|
||||||
}')
|
}')
|
||||||
whiptail --msgbox "$str" $((5+height)) 60 3>&1 1>&2 2>&3
|
whiptail --msgbox "$str" $((5+height)) 60 3>&1 1>&2 2>&3
|
||||||
saveVar "lastStep" "${2}"
|
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -567,7 +566,9 @@ runScript() {
|
||||||
whiptail --title "CocoASAIS" --msgbox "${welcomeMsg}" 0 0
|
whiptail --title "CocoASAIS" --msgbox "${welcomeMsg}" 0 0
|
||||||
|
|
||||||
while [ $i -le "${#steps[@]}" ]; do
|
while [ $i -le "${#steps[@]}" ]; do
|
||||||
${steps[$i]}
|
step=${steps[$i]}
|
||||||
|
saveVar "lastStep" "$step"
|
||||||
|
$step
|
||||||
((i++))
|
((i++))
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue