chiark / gitweb /
Prep v230: Return 'no' when asked whether we can reboot into firmware setup. elogind...
authorSven Eden <yamakuzure@gmx.net>
Thu, 8 Jun 2017 06:30:23 +0000 (08:30 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
src/login/logind-dbus.c

index 44fe5e507937acb72c11ed6309267ab66b6faf72..a6bce0de02b94ad18aedc0e1591739470c99aca3 100644 (file)
@@ -2346,7 +2346,7 @@ static int property_get_reboot_to_firmware_setup(
 
         return sd_bus_message_append(reply, "b", r > 0);
 #else
-        return sd_bus_message_append(reply, "b", -EOPNOTSUPP);
+        return sd_bus_message_append(reply, "b", false);
 #endif // 0
 }
 
@@ -2426,7 +2426,7 @@ static int method_can_reboot_to_firmware_setup(
 
         return sd_bus_reply_method_return(message, "s", result);
 #else
-        return sd_bus_reply_method_return(message, "s", "na");
+        return sd_bus_reply_method_return(message, "s", "no");
 #endif // 0
 }