summaryrefslogtreecommitdiffstats
path: root/cmd/commands/roles.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/commands/roles.go')
-rw-r--r--cmd/commands/roles.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/commands/roles.go b/cmd/commands/roles.go
index bf7c39476..6d832d82a 100644
--- a/cmd/commands/roles.go
+++ b/cmd/commands/roles.go
@@ -44,6 +44,7 @@ func makeSystemAdminCmdF(command *cobra.Command, args []string) error {
if err != nil {
return err
}
+ defer a.Shutdown()
if len(args) < 1 {
return errors.New("Enter at least one user.")
@@ -68,6 +69,7 @@ func makeMemberCmdF(command *cobra.Command, args []string) error {
if err != nil {
return err
}
+ defer a.Shutdown()
if len(args) < 1 {
return errors.New("Enter at least one user.")