diff --git a/home/dot_mbsyncrc.tmpl b/home/dot_mbsyncrc.tmpl index c5fe2fb..fefa4b3 100644 --- a/home/dot_mbsyncrc.tmpl +++ b/home/dot_mbsyncrc.tmpl @@ -24,7 +24,7 @@ BufferLimit 100M # # ########################## -{{ if (ne (len .mbsync) 0) }} +{{ writeToStdout (len .mbsync) }} {{ range $value := .mbsync }} # {{ $value.name }} @@ -116,4 +116,3 @@ Channel {{ $value.name }}-junk Channel {{ $value.name }}-archive {{ end }} -{{ end }}