From 01821ca09496ffc43514520826b818d410ad861f Mon Sep 17 00:00:00 2001 From: sawka Date: Wed, 9 Nov 2022 20:38:47 -0800 Subject: [PATCH] allow variable comptype --- pkg/packet/packet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {