summaryrefslogtreecommitdiff
path: root/src/rhimportd
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhimportd')
-rw-r--r--src/rhimportd/ctrlTelnet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rhimportd/ctrlTelnet.go b/src/rhimportd/ctrlTelnet.go
index 1339a81..eb8d39a 100644
--- a/src/rhimportd/ctrlTelnet.go
+++ b/src/rhimportd/ctrlTelnet.go
@@ -293,13 +293,14 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D
return false
}
ctx := c.UserData.(*rhimport.Context)
+ c.Sayln("starting import from '%s'", ctx.SourceUri)
id, s, code, errstring := sessions.New(ctx, "")
if code != http.StatusOK {
c.Sayln("creating session failed: %s", errstring)
return false
}
- c.Sayln("got session id: %s", id)
+ c.Sayln(" * got session id: %s", id)
donechan := make(chan rhimport.Result, 1)
if err := s.AddDoneHandler((chan<- rhimport.Result)(donechan), telnetDoneCallback); err != nil {
@@ -313,7 +314,6 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D
return false
}
- c.Sayln("starting import from '%s'", ctx.SourceUri)
s.Run(0)
currentStep := 0