diff --git a/manifests/bin/createadmin.sh b/manifests/bin/createadmin.sh index dcefe09..8691667 100755 --- a/manifests/bin/createadmin.sh +++ b/manifests/bin/createadmin.sh @@ -13,7 +13,7 @@ name="$1" scopes="$2" email="$name@$BASE_URL" secret="gitea-$name" -passwd="$(kgseckey "$secret" password)" +passwd="$(kgseckey "$secret" password || true)" if [ -z "$passwd" ]; then passwd="$(openssl rand -hex 32)"