Skip to content

Commit

Permalink
postmaster/flex/Main: Fix reading from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
richardapeters committed Dec 19, 2024
1 parent 9f2e89c commit 4c9acbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postmaster/flex/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ int main(int argc, const char* argv[], const char* env[])
try
{
std::string firmwareArg = Env("POSTMASTER_FIRMWARE");
std::string urlArg = std::getenv("POSTMASTER_IP");
std::string passwordArg = std::getenv("POSTMASTER_PASSWORD");
std::string urlArg = Env("POSTMASTER_IP");
std::string passwordArg = Env("POSTMASTER_PASSWORD");

if (firmwareArg.empty() && urlArg.empty())
{
Expand Down

0 comments on commit 4c9acbd

Please sign in to comment.