mirror of
https://github.com/mitb-archive/filebot
synced 2025-01-11 05:48:01 -05:00
* robust
This commit is contained in:
parent
3a601f13a0
commit
0ef8b9710d
@ -62,6 +62,7 @@
|
||||
^Tracker
|
||||
^Trailer
|
||||
^transfer$
|
||||
^TV$
|
||||
^user$
|
||||
^VCD$
|
||||
^VIDEO_TS$
|
||||
|
@ -7,7 +7,10 @@
|
||||
*/
|
||||
def sshexec(param) {
|
||||
param << [trust: true] // auto-trust remote hosts
|
||||
ant().sshexec(param)
|
||||
|
||||
_guarded {
|
||||
ant().sshexec(param)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -21,9 +24,11 @@ def sendmail(param) {
|
||||
def sender = param.remove('from')
|
||||
def recipient = param.remove('to')
|
||||
|
||||
ant().mail(param) {
|
||||
from(address:sender)
|
||||
to(address:recipient)
|
||||
_guarded {
|
||||
ant().mail(param) {
|
||||
from(address:sender)
|
||||
to(address:recipient)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user