X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm-remote%2Fsync%2Fcommands.go;h=84a318d79668b8e43118d9981e5d7736db3f766c;hp=e3c48dd10e4df6d78ff0242439b462d16364ba14;hb=1934f1ab83306dff45310d5b45e2a99c97e28c35;hpb=2f27353fdf81b3d0dff842a4d2e24b8963a65c6b diff --git a/cmd/safcm-remote/sync/commands.go b/cmd/safcm-remote/sync/commands.go index e3c48dd..84a318d 100644 --- a/cmd/safcm-remote/sync/commands.go +++ b/cmd/safcm-remote/sync/commands.go @@ -40,7 +40,7 @@ func (s *Sync) syncCommands() error { // Regular commands afterwards so they can react on triggers if // necessary for _, x := range s.req.Commands { - err := s.syncCommand(x, "") + err := s.syncCommand(x.Cmd, "") if err != nil { return err }