diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-11-02 18:18:38 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-11-02 18:18:38 +0000 |
| commit | a378b701cbe03ceab955e836f3a61a289bf443c8 (patch) | |
| tree | 541328e143a26be4ed7199584691f25d1b553123 /usr.bin | |
| parent | 5a52948cf66ce37fc3a6a3f2362ec76cad53a122 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/ftp/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index cca7a91937172..33e6a1b61e781 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -86,7 +86,7 @@ main(argc, argv) cp = strrchr(argv[0], '/'); cp = (cp == NULL) ? argv[0] : cp+1; - if (strcmp(cp, "pftp") == 0) + if (getenv("FTP_PASSIVE_MODE") || strcmp(cp, "pftp") == 0) passivemode = 1; while ((ch = getopt(argc, argv, "dginptvU")) != EOF) { |
