summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2008-01-07 01:09:58 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2008-01-07 01:09:58 +0000
commitc8e2a70101d80668aa3e3a8141dc3301bfa0da93 (patch)
tree8a74803c29ff031a8a2f8f439625ea831182489a /client/scireclient.pl
parentexit with -2 if run_as user can't be found (diff)
downloadscire-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-xclient/scireclient.pl2
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";