* 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:
parent
95a9c5dd77
commit
94b2268192
@ -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 ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user