aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/select.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/select.go b/commands/select.go
index 2cbb0b2e..b917d31d 100644
--- a/commands/select.go
+++ b/commands/select.go
@@ -27,7 +27,10 @@ func runSelect(cmd *cobra.Command, args []string) error {
return err
}
- _select.Select(backend, b.Id())
+ err = _select.Select(backend, b.Id())
+ if err != nil {
+ return err
+ }
fmt.Printf("selected bug %s: %s\n", b.HumanId(), b.Snapshot().Title)