Files
snapd/interfaces/dbus/template.go
Simon Fels 2790279bbc interfaces/dbus: drop superfluous backslash from template
Without this dbus-daemon will always fail to parse generated dbus
policies from snapd.

Signed-off-by: Simon Fels <simon.fels@canonical.com>
2016-04-16 16:03:26 +02:00

30 lines
969 B
Go

// -*- Mode: Go; indent-tabs-mode: t -*-
/*
* Copyright (C) 2016 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package dbus
var (
xmlHeader = []byte(`<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<!-- This file was automatically generated by snappy -->
<busconfig>`)
xmlFooter = []byte(`</busconfig>`)
)