diff options
author | Andrew Gaffney <agaffney@gentoo.org> | 2008-01-07 01:09:58 +0000 |
---|---|---|
committer | Andrew Gaffney <agaffney@gentoo.org> | 2008-01-07 01:09:58 +0000 |
commit | c8e2a70101d80668aa3e3a8141dc3301bfa0da93 (patch) | |
tree | 8a74803c29ff031a8a2f8f439625ea831182489a /client/scireclient.pl | |
parent | exit with -2 if run_as user can't be found (diff) | |
download | scire-c8e2a70101d80668aa3e3a8141dc3301bfa0da93.tar.gz scire-c8e2a70101d80668aa3e3a8141dc3301bfa0da93.tar.bz2 scire-c8e2a70101d80668aa3e3a8141dc3301bfa0da93.zip |
write out script_data to file
determine UID/GID of run_as user beforehand so we can change the owner of the script we just wrote
exec the script we wrote out instead of dummy commands
add set_script_file() function
svn path=/branches/new-fu/; revision=341
Diffstat (limited to 'client/scireclient.pl')
-rwxr-xr-x | client/scireclient.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/scireclient.pl b/client/scireclient.pl index 91bd1c5..304051e 100755 --- a/client/scireclient.pl +++ b/client/scireclient.pl @@ -98,7 +98,7 @@ sub parse_command_line { } sub check_job_dir { - my @checkdirs = ($conf{job_dir}, "$conf{job_dir}/queue", "$conf{job_dir}/done", "$conf{job_dir}/failed"); + my @checkdirs = ($conf{job_dir}, "$conf{job_dir}/queue", "$conf{job_dir}/done", "$conf{job_dir}/failed", "$conf{job_dir}/run"); for my $dir (@checkdirs) { if (! -d $dir) { print "WARNING! ${dir} does not exist...creating\n"; |