diff --git a/pkg/modules/dump/restore.go b/pkg/modules/dump/restore.go index e61bfc220..504458dbb 100644 --- a/pkg/modules/dump/restore.go +++ b/pkg/modules/dump/restore.go @@ -103,7 +103,12 @@ func Restore(filename string) error { _ = cfgr.Close() _ = outFile.Close() - log.Info("Restored config file.") + log.Infof("The config file has been restored to '%s'.", configFile.Name) + log.Infof("You can now make changes to it, hit enter when you're done.") + if _, err := bufio.NewReader(os.Stdin).ReadString('\n'); err != nil { + return fmt.Errorf("could not read from stdin: %s", err) + } + log.Info("Restoring...") // Init the configFile again since the restored configuration is most likely different from the one before initialize.LightInit()