diff --git a/Sources/tart/Commands/Rename.swift b/Sources/tart/Commands/Rename.swift index d8f9340..1f2c068 100644 --- a/Sources/tart/Commands/Rename.swift +++ b/Sources/tart/Commands/Rename.swift @@ -24,7 +24,7 @@ struct Rename: AsyncParsableCommand { } if localStorage.exists(newName) { - throw ValidationError("failed to rename VM \(name), target VM \(name) already exists, delete it first!") + throw ValidationError("failed to rename VM \(name), target VM \(newName) already exists, delete it first!") } try localStorage.rename(name, newName)