From fad99b60c53a5dcf042a6b8b0d041d6d7116b871 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 17 May 2016 03:15:35 +0300 Subject: regression: add no-daemon flag that specifies stl server is running, no need daemons etc. --- scripts/master_daemon.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/master_daemon.py') diff --git a/scripts/master_daemon.py b/scripts/master_daemon.py index 9214cfc8..19f05bf8 100755 --- a/scripts/master_daemon.py +++ b/scripts/master_daemon.py @@ -268,7 +268,10 @@ if os.path.isfile(args.trex_dir): raise Exception('Given path is a file') if not os.path.exists(args.trex_dir): os.makedirs(args.trex_dir) -os.chmod(args.trex_dir, 0o777) + os.chmod(args.trex_dir, 0o777) +elif args.allow_update: + os.chmod(args.trex_dir, 0o777) + if not os.path.exists(tmp_dir): os.makedirs(tmp_dir) -- cgit 1.2.3-korg