projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more options for error handling in shellcommands export, #16424
[freeside.git]
/
FS
/
FS
/
part_export
/
shellcommands_withdomain.pm
diff --git
a/FS/FS/part_export/shellcommands_withdomain.pm
b/FS/FS/part_export/shellcommands_withdomain.pm
index
7011dce
..
1ebf5f6
100644
(file)
--- a/
FS/FS/part_export/shellcommands_withdomain.pm
+++ b/
FS/FS/part_export/shellcommands_withdomain.pm
@@
-66,10
+66,17
@@
tie my %options, 'Tie::IxHash',
type=>'select', options=>[qw(crypt md5)],
default => 'crypt',
},
type=>'select', options=>[qw(crypt md5)],
default => 'crypt',
},
- '
ignore_all
_output' => {
-
label => 'Ignore all output and errors from the command
',
- type => 'checkbox',
+ '
fail_on
_output' => {
+
label => 'Treat any output from the command as an error
',
+
type => 'checkbox',
},
},
+ 'ignore_all_errors' => {
+ label => 'Ignore all errors from the command',
+ type => 'checkbox',
+ },
+ 'ignored_errors' => { label => 'Regexes of specific errors to ignore, separated by newlines',
+ type => 'textarea'
+ },
;
%info = (
;
%info = (