mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-06 13:17:44 +03:00
env-file: (void)ify an unlink() call
This commit is contained in:
parent
96be0e89f2
commit
57d2db22de
@ -559,6 +559,6 @@ int write_env_file(const char *fname, char **l) {
|
||||
r = -errno;
|
||||
}
|
||||
|
||||
unlink(p);
|
||||
(void) unlink(p);
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user