Skip to content

Commit

Permalink
Update Sources/tart/Commands/Pull.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Korotkov <[email protected]>
  • Loading branch information
edigaryev and fkorotkov authored May 15, 2022
1 parent 5346e87 commit 5f0713f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/tart/Commands/Pull.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct Pull: AsyncParsableCommand {
// Be more liberal when accepting local image as argument,
// see https://github.com/cirruslabs/tart/issues/36
if VMStorageLocal().exists(remoteName) {
print("an image named \"\(remoteName)\" already exists locally, perhaps you've meant to pull a remote image instead?")
print("\"\(remoteName)\" is a local image. Nothing to pull here!")

Foundation.exit(0)
}
Expand Down

0 comments on commit 5f0713f

Please sign in to comment.