From 6cc2270d9507e4d708a90ba2bcbbc1a4da9d5d6b Mon Sep 17 00:00:00 2001 From: Bryan Roessler Date: Fri, 22 Oct 2021 18:41:54 -0400 Subject: [PATCH] Fix installer --- script-user-add | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script-user-add b/script-user-add index e0083f61..3cbe8f41 100755 --- a/script-user-add +++ b/script-user-add @@ -30,10 +30,10 @@ if [[ -d /mnt/array/home-retired/"$username" ]]; then fi samba="no" -ask_ok "Enable shared file access for user $username?" && group_str="smbgrp" && samba="yes" +ask_ok "Enable shared file access for user $username?" && group_str="smbgrp," && samba="yes" ask_ok "Make user $username an admin?" && \ - group_str+=",wheel" + group_str+="wheel" useradd_cmd+=("-G" "$group_str") useradd_cmd+=("$username")