From cfe2987e50cf7f8c5f7edf7892fef02fc9a03fc8 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 23 Mar 2022 23:17:50 +0100 Subject: [PATCH] Manager: Do not bail one of the targets requires root privileges --- src/dotfile.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/dotfile.cpp b/src/dotfile.cpp index 9135511..9c0ba8f 100644 --- a/src/dotfile.cpp +++ b/src/dotfile.cpp @@ -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 {