mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-24 11:51:15 +00:00
Merge branch 'master' of ssh://gitweb/git/desktop/standalone-updater
This commit is contained in:
commit
4897f2f8ed
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ void ProcessUtils::runElevatedWindows(const std::string& executable,
|
|||
{
|
||||
std::string arg = *iter;
|
||||
|
||||
if (arg.at(0) != '"' && arg.at(arg.size()-1) != '"')
|
||||
if (!arg.empty() && arg.at(0) != '"' && arg.at(arg.size()-1) != '"')
|
||||
{
|
||||
arg.insert(0,"\"");
|
||||
arg.append("\"");
|
||||
|
|
Loading…
Reference in a new issue