diff --git a/sbin/gentoo-upgrade.sh b/sbin/gentoo-upgrade.sh index 7730341..18519a9 100755 --- a/sbin/gentoo-upgrade.sh +++ b/sbin/gentoo-upgrade.sh @@ -79,6 +79,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then [ 0 -ne $? ] && echo "Stage $STAGE: Updating gentoo-upgrade script failed ;-( =======" && exit $STAGE fi + exec $0 -s $((STAGE+1)) + + echo "Stage $STAGE: Bash translator in unreachable code ;-(" && exit $STAGE + let STAGE++ fi let STAGE_CNT++