diff --git a/lib/remote/configpackageutility.cpp b/lib/remote/configpackageutility.cpp index e0b88aa8e..b7f04a18f 100644 --- a/lib/remote/configpackageutility.cpp +++ b/lib/remote/configpackageutility.cpp @@ -254,11 +254,7 @@ String ConfigPackageUtility::GetActiveStage(const String& packageName) fp.close(); if (fp.fail()) - stage = ""; - - if (stage.IsEmpty()) - Log(LogWarning, "ConfigPackageUtility") - << "Could not determinate the active stage, does \"" << path << "\" exist?"; + return ""; return stage.Trim(); }