Skip to contentSkip to conversation

ts-examine-hostprops-save: Save for commissioning flights too (!)

PATCH New Ian Jackson 1 participant 1 message Mar 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-examine-hostprops-save: Save for commissioning flights too (!)

---
 ts-examine-hostprops-save | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
ts-examine-hostprops-save +2 -2
index e50ea7fb..3995a7a7 100755
@@ -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