_g_dbus_get_machine_id(): check /etc/machine-id too
authorAlexandre Rostovtsev <tetromino@gentoo.org>
Wed, 16 Nov 2011 15:05:46 +0000 (15:05 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Nov 2011 04:09:50 +0000 (23:09 -0500)
commitdc89b51c2d71088c014ec94572629aabf143310e
tree17a2fbf704c1ebe9144d2acbe1b0f8f5c38311eb
parent8d9f600aeab76277abfad0ee924954297a1c06d9
_g_dbus_get_machine_id(): check /etc/machine-id too

machine-id can be in /etc or in /var/lib/dbus.

[amended with slightly revised error handling -smcv]

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=663928
gio/gdbusprivate.c