From 7ba890140fccdf58daa0b8dd1fa5586ebcd48a43 Mon Sep 17 00:00:00 2001 From: Harshavardhana Ranganath Date: Wed, 30 Sep 2009 05:34:19 +0000 Subject: volgen script failed initial tests due to wrong fd definition Signed-off-by: Anand V. Avati BUG: 288 (volgen script failed initial tests due to wrong fd definition) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=288 --- extras/glusterfs-volgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/glusterfs-volgen.py b/extras/glusterfs-volgen.py index d452a4099..d3783ab24 100644 --- a/extras/glusterfs-volgen.py +++ b/extras/glusterfs-volgen.py @@ -196,8 +196,8 @@ def print_export_volume (exp_fd, export_dir): exp_fd.write ("# Cmd line:\n") exp_fd.write ("# $ %s\n\n" % cmdline) - mount_fd.write ("# TRANSPORT-TYPE %s\n" % transport_type) - mount_fd.write ("# PORT %d\n\n" % gfs_port) + exp_fd.write ("# TRANSPORT-TYPE %s\n" % transport_type) + exp_fd.write ("# PORT %d\n\n" % gfs_port) exp_fd.write ("volume posix\n") exp_fd.write (" type storage/posix\n") -- cgit