diff --git a/lxd/main_callhook.go b/lxd/main_callhook.go index e0b5e955e67c..c9a8a3ef712a 100644 --- a/lxd/main_callhook.go +++ b/lxd/main_callhook.go @@ -311,7 +311,6 @@ func (c *cmdCallhook) Run(cmd *cobra.Command, args []string) error { return err } - break case <-time.After(30 * time.Second): return fmt.Errorf("Hook didn't finish within 30s") }