diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2012-02-09 18:06:29 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2012-02-09 18:06:29 +0100 |
commit | 17019a09e703452735d5af2538654e0532d27d51 (patch) | |
tree | ecf23e1215ade1f407a4149b68164045aefd8ecb /apt-pkg/aptconfiguration.cc | |
parent | bce778a312f88011a891e079b0a0f6d58f663479 (diff) |
call dpkg --assert-multi-arch with execvp instead of execv
Diffstat (limited to 'apt-pkg/aptconfiguration.cc')
-rw-r--r-- | apt-pkg/aptconfiguration.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/aptconfiguration.cc b/apt-pkg/aptconfiguration.cc index b5ad74831..721b6fd63 100644 --- a/apt-pkg/aptconfiguration.cc +++ b/apt-pkg/aptconfiguration.cc @@ -376,7 +376,7 @@ std::vector<std::string> const Configuration::getArchitectures(bool const &Cache dup2(nullfd, STDIN_FILENO); dup2(external[1], STDOUT_FILENO); dup2(nullfd, STDERR_FILENO); - execv(Args[0], (char**) &Args[0]); + execvp(Args[0], (char**) &Args[0]); _error->WarningE("getArchitecture", "Can't detect foreign architectures supported by dpkg!"); _exit(100); } |