X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Finstall.c;h=16504eef0fe7aee6c4306de9a8dbc7e5c7c80ef8;hp=2c119e2dcad2b8697cf741c92aa6cdb9568640d6;hb=718db96199eb307751264e4163555662c9a389fa;hpb=3febea3a0b0a968ea281e7959c1654cbaf95c9bf diff --git a/src/shared/install.c b/src/shared/install.c index 2c119e2dc..16504eef0 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -1562,6 +1562,7 @@ int unit_file_set_default( UnitFileScope scope, const char *root_dir, const char *file, + bool force, UnitFileChange **changes, unsigned *n_changes) { @@ -1599,7 +1600,7 @@ int unit_file_set_default( path = strappenda(config_path, "/" SPECIAL_DEFAULT_TARGET); - r = create_symlink(i->path, path, true, changes, n_changes); + r = create_symlink(i->path, path, force, changes, n_changes); if (r < 0) return r;