From 92a6ab6e867544514da0379f0ba5ab50cfd1f67e Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 18 Feb 2008 00:31:28 -0700 Subject: [PATCH] 'tahoe start': only create logs/ if we're starting a tahoe node --- src/allmydata/scripts/startstop_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/scripts/startstop_node.py b/src/allmydata/scripts/startstop_node.py index c79bad11..81c6f764 100644 --- a/src/allmydata/scripts/startstop_node.py +++ b/src/allmydata/scripts/startstop_node.py @@ -57,9 +57,9 @@ def do_start(basedir, profile=False, out=sys.stdout, err=sys.stderr): print "Can't find twistd (it comes with Twisted). Aborting." sys.exit(1) - fileutil.make_dirs(os.path.join(basedir, "logs")) cmd.extend(["-y", tac]) if nodetype in ("client", "introducer"): + fileutil.make_dirs(os.path.join(basedir, "logs")) cmd.extend(["--logfile", os.path.join("logs", "twistd.log")]) if profile: cmd.extend(["--profile=profiling_results.prof", "--savestats",]) -- 2.45.2