aboutsummaryrefslogtreecommitdiff
path: root/tests/cli
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cli')
-rw-r--r--tests/cli/cli_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cli/cli_test.go b/tests/cli/cli_test.go
index fa0b576..314f6ce 100644
--- a/tests/cli/cli_test.go
+++ b/tests/cli/cli_test.go
@@ -549,7 +549,8 @@ func TestIdle(t *testing.T) {
"-q", "-nosyslog", "-fg", "-extpass", "echo test", "-i", "10ms", dir, mnt)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
- if err := cmd.Start(); err != nil {
+ err = cmd.Start()
+ if err != nil {
t.Fatal(err)
}
timer := time.AfterFunc(5*time.Second, func() {