mirror of
https://github.com/containers/podman.git
synced 2025-07-17 17:43:23 +08:00
Merge pull request #11807 from emsoucy/main
Fix typo in storage.conf file exists message
This commit is contained in:
@ -123,7 +123,7 @@ func (r *Runtime) Reset(ctx context.Context) error {
|
|||||||
if storageConfPath, err := storage.DefaultConfigFile(rootless.IsRootless()); err == nil {
|
if storageConfPath, err := storage.DefaultConfigFile(rootless.IsRootless()); err == nil {
|
||||||
if _, err = os.Stat(storageConfPath); err == nil {
|
if _, err = os.Stat(storageConfPath); err == nil {
|
||||||
fmt.Printf("A storage.conf file exists at %s\n", storageConfPath)
|
fmt.Printf("A storage.conf file exists at %s\n", storageConfPath)
|
||||||
fmt.Println("You should remove this file if you did not modified the configuration.")
|
fmt.Println("You should remove this file if you did not modify the configuration.")
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if prevError != nil {
|
if prevError != nil {
|
||||||
|
Reference in New Issue
Block a user