Commit c6db4a16 authored by Seblu's avatar Seblu
Browse files

up


git-svn-id: https://seblu.net/s/archpkg@265 02741741-5192-46b8-8916-7152b19231d9
parent 0b008b7d
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -11,10 +11,7 @@ create_default_groups() {
  local defaultcgroup

  if [[ -f /etc/cgrules.conf ]]; then
    grep -m1 '^\*[[:space:]]\+' /etc/cgrules.conf | read user ctrl defaultcgroup
    if [[ -n "$defaultcgroup" && "$defaultcgroup" = "*" ]]; then
      defaultcgroup=
    fi
    defaultcgroup=$(grep -m1 '^\*[[:space:]]\+' /etc/cgrules.conf|awk '{print $3}')
  fi

  if [[ -z $defaultcgroup ]]; then