ts-examine-hostprops-save: Save for commissioning flights too (!)
PATCH 1/1 ts-examine-hostprops-save: Save for commissioning flights too (!)
Signed-off-by Ian Jackson <[email protected]>
--- ts-examine-hostprops-save | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ts-examine-hostprops-save +2 -2
@@ -31,8 +31,8 @@ logm("setting host properties and flags"); # NB: in order to aid debug only attempt to save the host props on flights # with intended real blessing, for the rest just do a dry run. -our $dry_run = $blessing ne "real"; -logm("not saving host props/flags with intended blessing $blessing != real") +our $dry_run = $blessing !~ qr{^real$|^commission-}; +logm("not saving host props/flags with intended blessing $blessing") if $dry_run; foreach my $k (sort keys %r) {
Signature · 1 line
2.11.0