From bb155a5786a57b413a1128d0bd12e338f9ea0b8a Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 16 Jul 2021 16:32:08 -0400 Subject: [PATCH] fix(tools): update job progress in catch-all case --- share/words.xml | 1 + tools/striker-manage-vnc-pipes | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/share/words.xml b/share/words.xml index 65a62e0a..adf67d87 100644 --- a/share/words.xml +++ b/share/words.xml @@ -2233,6 +2233,7 @@ Are you sure that you want to delete the server: [#!variable!server_name!#]? [Ty Preparing to manage VNC pipes. Finished [#!variable!operation!#] VNC pipe for server UUID [#!variable!server_uuid!#] from host UUID [#!variable!host_uuid!#]. Finished dropping VNC pipes table. + Finished managing VNC pipes; no operations happened because requirements not met. Saved the mail server information successfully! diff --git a/tools/striker-manage-vnc-pipes b/tools/striker-manage-vnc-pipes index 00c5c758..670f9813 100755 --- a/tools/striker-manage-vnc-pipes +++ b/tools/striker-manage-vnc-pipes @@ -1062,3 +1062,7 @@ elsif ($anvil->data->{switches}{'drop-table'}) $anvil->Job->update_progress({ progress => 100, message => "message_0258" }); } +else +{ + $anvil->Job->update_progress({ progress => 100, message => "message_0259" }); +}