chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
system-update-generator: accept a dangling symlink
[elogind.git]
/
src
/
system-update-generator
/
system-update-generator.c
diff --git
a/src/system-update-generator/system-update-generator.c
b/src/system-update-generator/system-update-generator.c
index 464ee22b208b66ff9e20e305163aad4e9f089a9a..455a84109bdb3c4099a7ac61f1889709d0da2bb6 100644
(file)
--- a/
src/system-update-generator/system-update-generator.c
+++ b/
src/system-update-generator/system-update-generator.c
@@
-37,7
+37,7
@@
static const char *arg_dest = "/tmp";
static int generate_symlink(void) {
const char *p = NULL;
- if (access("/system-update", F_OK) < 0) {
+ if (
l
access("/system-update", F_OK) < 0) {
if (errno == ENOENT)
return 0;