From 8ca082617a5b34388fb58e6c0b45d513344c49c8 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 12 Apr 2006 20:43:26 +0000 Subject: Fix handling of method for ftp. --- anaconda | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'anaconda') diff --git a/anaconda b/anaconda index 956df3ed8..1c8e55133 100755 --- a/anaconda +++ b/anaconda @@ -526,9 +526,9 @@ if opts.syslog: if opts.method and opts.method[0] == '@': # ftp installs pass the password via a file in /tmp so # ps doesn't show it - filename = method[1:] - method = open(filename, "r").readline() - opts.method = method[:len(method) - 1] + filename = opts.method[1:] + opts.method = open(filename, "r").readline() + opts.method = opts.method[:len(opts.method) - 1] os.unlink(filename) if opts.module: -- cgit