From ffa10b4d85250149b3dea19ea8dd091eac8127f0 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 29 Jun 2022 16:11:53 -0700 Subject: [PATCH] Return integer value from serve command --- plugins/commands/serve/command.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/commands/serve/command.rb b/plugins/commands/serve/command.rb index 5cdb9941c..cae0e817f 100644 --- a/plugins/commands/serve/command.rb +++ b/plugins/commands/serve/command.rb @@ -128,6 +128,7 @@ module VagrantPlugins STDOUT.flush logger.info("Vagrant GRPC service is now running addr=#{bind_addr.inspect} port=#{port.inspect}") s.run_till_terminated_or_interrupted([1, 'int', 'SIGQUIT', 'SIGINT']) + 1 ensure logger.info("Vagrant GRPC service is shutting down") end