Manager: Do not bail one of the targets requires root privileges

This commit is contained in:
Riyyi
2022-03-23 23:17:50 +01:00
parent 0e966a6408
commit cfe2987e50
-1
View File
@@ -293,7 +293,6 @@ void Dotfile::sync(SyncType type,
fprintf(stderr, "\033[31;1mDotfile:\033[0m need root privileges to copy system file '%s'\n",
paths.at(i).c_str() + (type == SyncType::Add ? 0 : Config::the().workingDirectorySize()));
}
return;
}
auto printError = [](const std::filesystem::path& path, const std::error_code& error) -> void {