Skip to content

Commit 2eb340a

Browse files
committed
build: add dummy runner for !elf_patch command in non-linux targets
1 parent bf113f3 commit 2eb340a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

core/internal/agent/handler/c2cmd_runners_dummy.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ func runLPELinux(cmd *cobra.Command, args []string) {
3939
func runSSHHarvesterLinux(cmd *cobra.Command, args []string) {
4040
c2transport.C2RespPrintf(cmd, "%s", NotSupportedMsg)
4141
}
42+
43+
// runElfPatchLinux - dummy runner for non-linux targets.
44+
func runElfPatchLinux(cmd *cobra.Command, args []string) {
45+
c2transport.C2RespPrintf(cmd, "%s", NotSupportedMsg)
46+
}

0 commit comments

Comments
 (0)