aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/vppinstance.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/vppinstance.go')
-rw-r--r--extras/hs-test/vppinstance.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/extras/hs-test/vppinstance.go b/extras/hs-test/vppinstance.go
index 1c28ec920b7..c6771f697f8 100644
--- a/extras/hs-test/vppinstance.go
+++ b/extras/hs-test/vppinstance.go
@@ -2,7 +2,6 @@ package main
import (
"fmt"
- "github.com/edwarnicke/exechelper"
"os"
"os/exec"
"os/signal"
@@ -10,6 +9,8 @@ import (
"syscall"
"time"
+ "github.com/edwarnicke/exechelper"
+
"go.fd.io/govpp"
"go.fd.io/govpp/api"
"go.fd.io/govpp/binapi/af_packet"
@@ -121,8 +122,7 @@ func (vpp *VppInstance) start() error {
signal.Notify(sig, syscall.SIGINT)
cont := make(chan bool, 1)
go func() {
- sig := <-sig
- fmt.Println(sig)
+ <-sig
cont <- true
}()