diff options
Diffstat (limited to 'src/system-update-generator')
-rw-r--r-- | src/system-update-generator/system-update-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system-update-generator/system-update-generator.c b/src/system-update-generator/system-update-generator.c index 464ee22b20..455a84109b 100644 --- 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 (laccess("/system-update", F_OK) < 0) { if (errno == ENOENT) return 0; |