chiark / gitweb /
Add support for building elogind against musl libc
[elogind.git] / src / login / inhibit.c
index c53ea8add7c6c1efe2da0812d1117362ce6d1a28..89e529d01ba9a9253f04b337cb7bd552b06b6a13 100644 (file)
@@ -226,6 +226,7 @@ int main(int argc, char *argv[]) {
         _cleanup_bus_flush_close_unref_ sd_bus *bus = NULL;
         int r;
 
+        elogind_set_program_name(argv[0]);
         log_parse_environment();
         log_open();