Add check for post-upgrade version file

This commit is contained in:
Mike Reeves authored and GitHub committed 2026-11-16 12:12:11 -05:00
1 parent 01518ec25e
commit f492e87f20
1 file changed
+1
+1
View File
@@ -17,6 +17,7 @@ INSTALLEDVERSION=$(cat /etc/soversion)
# not finish its post-upgrade steps; its contents are the resume point. It is read
# here before preupgrade_changes mutates INSTALLEDVERSION and before any highstate
# stamps /etc/soversion from the pillar.
POSTVERSION_FILE=/etc/sopostversion
if [ -f "$POSTVERSION_FILE" ]; then