diff --git a/cmd/headscale/cli/nodes.go b/cmd/headscale/cli/nodes.go index d339a958..5ed57d0e 100644 --- a/cmd/headscale/cli/nodes.go +++ b/cmd/headscale/cli/nodes.go @@ -249,7 +249,7 @@ var renameNodeCmd = &cobra.Command{ ErrorOutput( err, fmt.Sprintf( - "Cannot expire machine: %s\n", + "Cannot rename machine: %s\n", status.Convert(err).Message(), ), output,