Skip to content

Commit cdf9476

Browse files
committed
[fix] : Fixed user check
1 parent b257839 commit cdf9476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/aur.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function user_check () {
2626
}
2727

2828
# Creating a aur user.
29-
if [[ $(user_check ${aur_username}) = false ]]; then
29+
if user_check "${aur_username}"; then
3030
useradd -m -d "/aurbuild_temp" "${aur_username}"
3131
fi
3232
mkdir -p "/aurbuild_temp"

0 commit comments

Comments
 (0)