X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=cmd%2Fsafcm%2Fsync_changes.go;h=3e91768bfca3eb3273e5c24954c506f86934a63b;hp=a85b8100946da96a6bf2670a2a4f0d32917eba2e;hb=367edc1286a52d96fcfef6f98330148cad8a64e1;hpb=06e94a0f798e8c3e231ebe01ae85ec1337505ac8 diff --git a/cmd/safcm/sync_changes.go b/cmd/safcm/sync_changes.go index a85b810..3e91768 100644 --- a/cmd/safcm/sync_changes.go +++ b/cmd/safcm/sync_changes.go @@ -49,7 +49,8 @@ func (s *Sync) formatChanges(resp safcm.MsgSyncResp) string { s.formatCommandChanges(resp.CommandChanges)) } if len(changes) == 0 { - return "" + // Notify user that the host was synced successfully + return "no changes" } x := strings.Join(changes, "\n")