chiark / gitweb /
core: allocate a kdbus bus for each systemd instance, if we can
[elogind.git] / src / rfkill / rfkill.c
index 986605e50b183da334f70af4de42ed9b9d448f97..65fd9bc478729486b96a38761850441accce15ee 100644 (file)
@@ -24,7 +24,6 @@
 #include "fileio.h"
 #include "libudev.h"
 #include "udev-util.h"
-#include "util.h"
 
 int main(int argc, char *argv[]) {
         _cleanup_udev_unref_ struct udev *udev = NULL;
@@ -96,7 +95,7 @@ int main(int argc, char *argv[]) {
                 return EXIT_FAILURE;
         }
 
-        if (streq(argv[1], "load") && restore_state()) {
+        if (streq(argv[1], "load") && shall_restore_state()) {
                 _cleanup_free_ char *value = NULL;
 
                 r = read_one_line_file(saved, &value);