diff options
Diffstat (limited to 'methods/http_main.cc')
-rw-r--r-- | methods/http_main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/methods/http_main.cc b/methods/http_main.cc index 3b346a514..788582632 100644 --- a/methods/http_main.cc +++ b/methods/http_main.cc @@ -1,5 +1,5 @@ #include <config.h> - +#include <apt-pkg/fileutl.h> #include <signal.h> #include "http.h" @@ -12,6 +12,8 @@ int main() // closes the connection (this is dealt with via ServerDie()) signal(SIGPIPE, SIG_IGN); + DropPrivs(); + HttpMethod Mth; return Mth.Loop(); } |