diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-01-21 00:46:39 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 2000-01-21 00:46:39 +0000 |
commit | 95e3631119311f1ae93bb20077b75c1846b34444 (patch) | |
tree | a36b05d12deecce9d2d3e89af9d088d040cb41c0 | |
parent | 8843bd99d5d98fc907ba318973fd0c455e7e8a01 (diff) | |
download | msec-95e3631119311f1ae93bb20077b75c1846b34444.tar msec-95e3631119311f1ae93bb20077b75c1846b34444.tar.gz msec-95e3631119311f1ae93bb20077b75c1846b34444.tar.bz2 msec-95e3631119311f1ae93bb20077b75c1846b34444.tar.xz msec-95e3631119311f1ae93bb20077b75c1846b34444.zip |
*** empty log message ***
-rwxr-xr-x | init-sh/grpuser.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/init-sh/grpuser.sh b/init-sh/grpuser.sh index 3493100..7186ff5 100755 --- a/init-sh/grpuser.sh +++ b/init-sh/grpuser.sh @@ -104,8 +104,11 @@ RefreshAdd() { else echo "Adding user \"${user_name}\" to group \"${group_name}\"." IsGroupExisting; - AppendUserToGroup; - ModifyFile; + IsUserAlreadyInGroup; + if [[ $? == 1 ]]; then + AppendUserToGroup; + ModifyFile; + fi fi done fi |