diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-15 22:17:24 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2015-03-15 22:26:58 +0100 |
commit | e62d9b81926e22f7a1d8a117fd85bb735d3cead2 (patch) | |
tree | 3547e4ab46ef4da1fa8be202d664a514bcec3e63 /src/machine/machine.c | |
parent | journal-gatewayd: factor out opening of temp file (diff) | |
download | systemd-e62d9b81926e22f7a1d8a117fd85bb735d3cead2.tar.xz systemd-e62d9b81926e22f7a1d8a117fd85bb735d3cead2.zip |
Add (void) where we don't care about return value
Diffstat (limited to 'src/machine/machine.c')
-rw-r--r-- | src/machine/machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machine.c b/src/machine/machine.c index 182430d785..048607fb7f 100644 --- a/src/machine/machine.c +++ b/src/machine/machine.c @@ -212,9 +212,9 @@ int machine_save(Machine *m) { /* Create a symlink from the unit name to the machine * name, so that we can quickly find the machine for - * each given unit */ + * each given unit. Ignore error. */ sl = strjoina("/run/systemd/machines/unit:", m->unit); - symlink(m->name, sl); + (void) symlink(m->name, sl); } finish: |