diff --git a/connect.go b/connect.go index 59704dbd..905e3f62 100644 --- a/connect.go +++ b/connect.go @@ -535,11 +535,12 @@ func (c *Connection) runClient() error { fmt.Print("\ndecompressing folder") log.Debug("untarring " + c.File.Name) err := tarinator.UnTarinate(c.Path, path.Join(c.Path, c.File.Name)) - if err != nil { + log.Debug("problem untarring: " + err.Error()) return err } - // we remove the old tar.gz file + // we remove the old tar.gz filels + log.Debug("removing old tar file: " + c.File.Name) err = os.Remove(path.Join(c.Path, c.File.Name)) if err != nil { return err