Use restrictflight_arg in both these functions. They still use
$maxflight directly, passing it to report_blessingscond; that will
change in a moment.
No functional change.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
push @includebeginfiles, $1;
} elsif (m/^--include=(.*)$/) {
push @includefiles, $1;
- } elsif (m/^--max-flight=(\d+)$/) {
- $maxflight= $1;
+ } elsif (restrictflight_arg($_)) {
+ # Handled by Executive
} elsif (m/^--allow=(.*)$/) {
my ($allowfile) = $1;
if (!open A, '<', $allowfile) {
$$1= $2;
} elsif (m/^--(limit)\=([1-9]\d*)$/) {
$$1= $2;
- } elsif (m/^--max-flight\=([1-9]\d*)$/) {
- $maxflight= $1;
+ } elsif (restrictflight_arg($_)) {
+ # Handled by Executive
} elsif (m/^--html-dir=(.*)$/) {
$htmlout= $1;
} elsif (m/^--branches?=(.*)$/) {