From 84f4b097e8505f734c7543653be59619ec65d6eb Mon Sep 17 00:00:00 2001 From: Bernd Machenschalk Date: Tue, 3 Jun 2014 08:45:18 +0200 Subject: [PATCH] server: start: renamed -> --- sched/start | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sched/start b/sched/start index f9eb6bcb67..3179bf29d1 100755 --- a/sched/start +++ b/sched/start @@ -709,10 +709,10 @@ if not command: config = configxml.ConfigFile(config_filename).read() -# if a (name) is configured, terminate script if not ran by this user -if 'tasks_user' in config.config.__dict__: - if getpass.getuser() != config.config.tasks_user: - raise SystemExit('The script must be run by user "' + config.config.tasks_user + '"') +# if a is configured, terminate script if not ran by this user +if 'project_user_name' in config.config.__dict__: + if getpass.getuser() != config.config.project_user_name: + raise SystemExit('The script must be run by user "' + config.config.project_user_name + '"') run_state = configxml.RunStateFile(run_state_filename).read(failopen_ok = True)