restore::main: add missing variable declaration

This commit is contained in:
Joshua Root
2026-06-11 07:34:38 +10:00
parent 445c7954c6
commit 2229835b16
+1 -1
View File
@@ -61,7 +61,7 @@ namespace eval restore {
# 0 if success
global macports::ui_options
set ui_prefix [string map {--- ===} $::macports::ui_prefix]
variable ui_prefix [string map {--- ===} $::macports::ui_prefix]
if {[migrate::needs_migration]} {
ui_error "You need to run 'sudo port migrate' before running restore"