We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf9476 commit c151d36Copy full SHA for c151d36
2 files changed
modules/share/airootfs.any/root/customize_airootfs.sh
@@ -156,7 +156,7 @@ function create_user () {
156
fi
157
set -u
158
159
- if user_check "${_username}"; then
+ if ! user_check "${_username}"; then
160
useradd -m -s ${usershell} ${_username}
161
groupadd sudo
162
usermod -U -g ${_username} ${_username}
system/aur.sh
@@ -26,7 +26,7 @@ function user_check () {
26
}
27
28
# Creating a aur user.
29
-if user_check "${aur_username}"; then
+if ! user_check "${aur_username}"; then
30
useradd -m -d "/aurbuild_temp" "${aur_username}"
31
32
mkdir -p "/aurbuild_temp"
0 commit comments