summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2023-04-27 10:45:47 +0200
committerPaul Kocialkowski2023-04-27 10:45:47 +0200
commitb615d272427a918316c9b998ee68696c8396bea4 (patch)
treead48d1994b88e7f0c86eba370384f288a83cb12c
parentff86ea427efaa689b70aff7273776d1eb16aa8b5 (diff)
host-control: Print host in verbose mode only
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xhost-control3
1 files changed, 2 insertions, 1 deletions
diff --git a/host-control b/host-control
index 478aaa0..25de156 100755
--- a/host-control
+++ b/host-control
@@ -522,7 +522,8 @@ class host_control():
self.print_message("Unknown host: " + self.host)
return 1
- self.print_message("Target host: " + self.host)
+ if self.verbose:
+ self.print_message("Target host: " + self.host)
action = arguments[0]