* Start "exec" jobs using the "script" stanza to allow redirects in

the job's "exec" to work properly.

svn path=/nixos/trunk/; revision=22094
This commit is contained in:
Eelco Dolstra 2010-06-01 20:41:59 +00:00
parent 95a9c5dd77
commit 94b2268192

View File

@ -59,7 +59,10 @@ let
''
else if job.exec != "" then
''
exec ${job.exec} >> ${log} 2>&1
script
exec >> ${log} 2>&1
exec ${job.exec}
end script
''
else ""
}