chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove src/gpt-auto-generator
[elogind.git]
/
src
/
machine
/
machine.c
diff --git
a/src/machine/machine.c
b/src/machine/machine.c
index edd244f30daee3f9c8484c2c8f3040053343c8e9..048607fb7f65762b59f41d45f97384cc8325b78e 100644
(file)
--- a/
src/machine/machine.c
+++ b/
src/machine/machine.c
@@
-28,7
+28,6
@@
#include "util.h"
#include "mkdir.h"
#include "hashmap.h"
#include "util.h"
#include "mkdir.h"
#include "hashmap.h"
-#include "strv.h"
#include "fileio.h"
#include "special.h"
#include "unit-name.h"
#include "fileio.h"
#include "special.h"
#include "unit-name.h"
@@
-213,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
/* 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);
sl = strjoina("/run/systemd/machines/unit:", m->unit);
- symlink(m->name, sl);
+
(void)
symlink(m->name, sl);
}
finish:
}
finish: