return -ENOMEM;
path_simplify(p, false);
- q = readlink_malloc(p, &dest);
+ q = chase_symlinks(p, NULL, CHASE_NONEXISTENT, &dest, NULL);
if (q == -ENOENT)
continue;
if (q < 0) {
void *data,
void *userdata) {
- UnitFileInstallInfo *info = userdata, *alsoinfo = NULL;
+ UnitFileInstallInfo *info = userdata;
InstallContext *c = data;
int r;
if (r < 0)
return r;
- r = install_info_add(c, printed, NULL, true, &alsoinfo);
+ r = install_info_add(c, printed, NULL, true, NULL);
if (r < 0)
return r;