Merge pull request #847 from harshavardhana/pr_out_root_path_working_directory
This commit is contained in:
@@ -276,8 +276,9 @@ func runCopyCmd(ctx *cli.Context) {
|
||||
Error: iodine.New(err, nil),
|
||||
})
|
||||
}
|
||||
console.Println()
|
||||
console.Infos(InfoMessage{
|
||||
Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
Message: "Session terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
})
|
||||
// this os.Exit is needed really to exit in-case of "os.Interrupt"
|
||||
os.Exit(0)
|
||||
|
||||
+4
-2
@@ -143,8 +143,9 @@ func sessionExecute(bar barSend, s *sessionV1) {
|
||||
Error: iodine.New(err, nil),
|
||||
})
|
||||
}
|
||||
console.Println()
|
||||
console.Infos(InfoMessage{
|
||||
Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
Message: "Session terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
})
|
||||
// this os.Exit is needed really to exit in-case of "os.Interrupt"
|
||||
os.Exit(0)
|
||||
@@ -165,8 +166,9 @@ func sessionExecute(bar barSend, s *sessionV1) {
|
||||
Error: iodine.New(err, nil),
|
||||
})
|
||||
}
|
||||
console.Println()
|
||||
console.Infos(InfoMessage{
|
||||
Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
Message: "Session terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
})
|
||||
// this os.Exit is needed really to exit in-case of "os.Interrupt"
|
||||
os.Exit(0)
|
||||
|
||||
+2
-1
@@ -276,8 +276,9 @@ func runSyncCmd(ctx *cli.Context) {
|
||||
Error: iodine.New(err, nil),
|
||||
})
|
||||
}
|
||||
console.Println()
|
||||
console.Infos(InfoMessage{
|
||||
Message: "\nSession terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
Message: "Session terminated. To resume session type ‘mc session resume " + s.SessionID + "’",
|
||||
})
|
||||
// this os.Exit is needed really to exit in-case of "os.Interrupt"
|
||||
os.Exit(0)
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ type sessionV1 struct {
|
||||
Started time.Time `json:"started"`
|
||||
CommandType string `json:"command-type"`
|
||||
SessionID string `json:"session-id"`
|
||||
RootPath string `json:"root-path"`
|
||||
RootPath string `json:"working-directory"`
|
||||
URLs []string `json:"args"`
|
||||
Files map[string]bool `json:"files"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user