From c421fe8fb87e949bae1860f0d501cf8e89ce0f18 Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 17 Apr 2026 08:16:21 +0000 Subject: started manifest template --- src/is_updated.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/is_updated.cc') diff --git a/src/is_updated.cc b/src/is_updated.cc index f166dd8..b2c3b43 100644 --- a/src/is_updated.cc +++ b/src/is_updated.cc @@ -5,6 +5,7 @@ bool is_updated(std::string src) { if (src != std::filesystem::current_path().string()) { + if (!std::filesystem::exists(src)) { return false; } std::filesystem::current_path(src); } if (cmd_out("git pull") == "Already up to date.") { return true; } -- cgit v1.2.3