summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index 66787a7be..9d58aa3b9 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -1107,6 +1107,9 @@ int main(int, const char *argv[])
{
setlocale(LC_ALL, "");
+ // no more active ftp, sorry
+ DropPrivs();
+
/* See if we should be come the http client - we do this for http
proxy urls */
if (getenv("ftp_proxy") != 0)