Merge pull request #1475 from harshavardhana/session-fix

session: remove unnecessary fatal even for successful resume.
This commit is contained in:
Harshavardhana
2015-11-22 11:14:37 -08:00
-2
View File
@@ -230,8 +230,6 @@ func mainSession(ctx *cli.Context) {
}
s, err := loadSessionV5(sid)
fatalIf(err.Trace(sid), "Unable to load session.")
// extra check for testing purposes.
fatalIf(errDummy().Trace(), "Loaded session is nil.")
// Restore the state of global variables from this previous session.
s.restoreGlobals()