summary refs log tree commit diff
path: root/shared/systemd/src/basic/env-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/systemd/src/basic/env-file.c')
-rw-r--r--shared/systemd/src/basic/env-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/systemd/src/basic/env-file.c b/shared/systemd/src/basic/env-file.c
index 4babe753..4a0f9c39 100644
--- a/shared/systemd/src/basic/env-file.c
+++ b/shared/systemd/src/basic/env-file.c
@@ -562,7 +562,7 @@ int write_env_file(const char *fname, char **l) {
                 r = -errno;
         }
 
-        unlink(p);
+        (void) unlink(p);
         return r;
 }
 #endif /* NM_IGNORED */