chiark / gitweb /
networkd: run as unpriviliged "systemd-network" user
[elogind.git] / src / shared / util.c
index 0c273943e7e671d20439dd7f7962e5c382d50032..4a3e35f356508964f963075a09de8c909c207c4c 100644 (file)
@@ -1371,7 +1371,7 @@ bool ignore_file(const char *filename) {
         assert(filename);
 
         if (endswith(filename, "~"))
-                return false;
+                return true;
 
         return ignore_file_allow_backup(filename);
 }
@@ -6480,8 +6480,7 @@ void hexdump(FILE *f, const void *p, size_t s) {
         }
 }
 
-int update_reboot_param_file(const char *param)
-{
+int update_reboot_param_file(const char *param) {
         int r = 0;
 
         if (param) {