summaryrefslogtreecommitdiffstats
path: root/cmd/ship/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ship/status.go')
-rw-r--r--cmd/ship/status.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/ship/status.go b/cmd/ship/status.go
index 536ec8c..4774fad 100644
--- a/cmd/ship/status.go
+++ b/cmd/ship/status.go
@@ -17,6 +17,9 @@ var statusCmd = &cobra.Command{
17 17
18func runStatus(cmd *cobra.Command, args []string) error { 18func runStatus(cmd *cobra.Command, args []string) error {
19 name := args[0] 19 name := args[0]
20 if err := validateName(name); err != nil {
21 return err
22 }
20 23
21 st, err := state.Load() 24 st, err := state.Load()
22 if err != nil { 25 if err != nil {