diff --git a/pkg/packet/packet.go b/pkg/packet/packet.go index 553c5b2e..f4a6cac6 100644 --- a/pkg/packet/packet.go +++ b/pkg/packet/packet.go @@ -364,7 +364,7 @@ type CompGenPacketType struct { } func IsValidCompGenType(t string) bool { - return (t == "file" || t == "command" || t == "directory") + return (t == "file" || t == "command" || t == "directory" || t == "variable") } func (*CompGenPacketType) GetType() string {