diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-28 14:57:27 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-12-28 14:57:27 -0500 |
commit | 1a64603645e894fd2c886a02876762bee0b208a7 (patch) | |
tree | 11940c787fb4774efa7a2871c08909d91e53dec4 | |
parent | 66d1b98d5edcaea1a07f5d16dbe9867bfb7252f5 (diff) |
load_user_yaml: whoops, groups wasn't dumping as an array
-rw-r--r-- | bin/common.rb.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/common.rb.in b/bin/common.rb.in index 3f5c557..f8c971c 100644 --- a/bin/common.rb.in +++ b/bin/common.rb.in @@ -39,7 +39,7 @@ def load_user_yaml(filename) user = YAML::load(open(filename)) groups = Set.new (user["groups"] || []).each{|groupname| add_group(groups, groupname)} - user["groups"] = groups + user["groups"] = groups.sort return user end |