diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:49 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:53:49 +0000 |
commit | f436bdc5fdd0db812484774d701e7d98b1e76224 (patch) | |
tree | 3b5527b2fadaeff61b6596b7cab4ced898042896 /methods/ftp.cc | |
parent | 204fbdcce67a08d33a5e7eb3ca9e7a9ae80918c5 (diff) |
Fixed execv ftp problem
Author: jgg
Date: 1999-05-23 23:30:09 GMT
Fixed execv ftp problem
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r-- | methods/ftp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc index 4686e79f8..a93777488 100644 --- a/methods/ftp.cc +++ b/methods/ftp.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: ftp.cc,v 1.8 1999/05/23 06:33:13 jgg Exp $ +// $Id: ftp.cc,v 1.9 1999/05/23 23:30:09 jgg Exp $ /* ###################################################################### HTTP Aquire Method - This is the FTP aquire method for APT. @@ -926,7 +926,7 @@ int main(int argc,const char *argv[]) // Run the http method string Path = flNotFile(argv[0]) + "/http"; - execl(Path.c_str(),Path.c_str()); + execl(Path.c_str(),Path.c_str(),0); cerr << "Unable to invoke " << Path << endl; exit(100); } |