init_resize.sh: Sleep after whiptail diolog, not before

Fixes #153
This commit is contained in:
Serge Schneider 2021-02-11 14:34:43 +00:00
parent a94552d911
commit 4a59ff3df1
1 changed files with 1 additions and 1 deletions

View File

@ -203,8 +203,8 @@ if main; then
whiptail --infobox "Resized root filesystem. Rebooting in 5 seconds..." 20 60
sleep 5
else
sleep 5
whiptail --msgbox "Could not expand filesystem, please try raspi-config or rc_gui.\n${FAIL_REASON}" 20 60
sleep 5
fi
reboot_pi