Skip to content

Commit

Permalink
src/init.cpp: update: gets program name
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbora committed May 23, 2024
1 parent c88c4a6 commit 1c7bed3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,7 @@ bool AppInit2()

try {

std::string program = GetArg("command","");
LogPrintf("program: %s\n",program.c_str());
std::string program = GetArg("program","");
if (!CUpdate::Start(program)) {
return UIError(_("Unable to update app. See debug log for details."));
}
Expand Down

0 comments on commit 1c7bed3

Please sign in to comment.