cli: fix for error wrapping

This commit is contained in:
Vsevolod Brekelov 2019-10-16 15:11:17 +03:00
parent 5b81110d16
commit 0daef50b9d

View file

@ -213,7 +213,7 @@ func handleBreak(c *ishell.Context) {
} }
v := getVMFromContext(c) v := getVMFromContext(c)
if len(c.Args) != 1 { if len(c.Args) != 1 {
c.Err(errors.New("Missing parameter <ip>")) c.Err(errors.New("missing parameter <ip>"))
} }
n, err := strconv.Atoi(c.Args[0]) n, err := strconv.Atoi(c.Args[0])
if err != nil { if err != nil {