comment out tailer for now

This commit is contained in:
sawka 2022-07-07 21:38:05 -07:00
parent 463187221b
commit 4f4dd67d06

View File

@ -13,7 +13,6 @@ import (
"strings" "strings"
"github.com/scripthaus-dev/mshell/pkg/base" "github.com/scripthaus-dev/mshell/pkg/base"
"github.com/scripthaus-dev/mshell/pkg/cmdtail"
"github.com/scripthaus-dev/mshell/pkg/packet" "github.com/scripthaus-dev/mshell/pkg/packet"
"github.com/scripthaus-dev/mshell/pkg/server" "github.com/scripthaus-dev/mshell/pkg/server"
"github.com/scripthaus-dev/mshell/pkg/shexec" "github.com/scripthaus-dev/mshell/pkg/shexec"
@ -74,13 +73,13 @@ import (
// }() // }()
// } // }
func doGetCmd(tailer *cmdtail.Tailer, pk *packet.GetCmdPacketType, sender *packet.PacketSender) error { // func doGetCmd(tailer *cmdtail.Tailer, pk *packet.GetCmdPacketType, sender *packet.PacketSender) error {
err := tailer.AddWatch(pk) // err := tailer.AddWatch(pk)
if err != nil { // if err != nil {
return err // return err
} // }
return nil // return nil
} // }
// func doMain() { // func doMain() {
// homeDir := base.GetHomeDir() // homeDir := base.GetHomeDir()