chiark / gitweb /
update-utmp: Don't error out on runlevel updates if utmp doesn't exist
authorColin Walters <walters@verbum.org>
Thu, 13 Sep 2012 14:51:30 +0000 (10:51 -0400)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Sep 2012 15:17:32 +0000 (17:17 +0200)
commit55f2dca329afd0dcdc4793ce3e945cb8af653937
treef0235aedb245a79d35740717efbacbbe725da63a
parenta1cccad1fe88ddd6943e18af97cf7f466296970f
update-utmp: Don't error out on runlevel updates if utmp doesn't exist

Other parts of the code handle utmp not existing, so let's be
consistent.  At the moment my GNOME-OSTree builds don't have utmp.
src/update-utmp/update-utmp.c