1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borgserver_ynh.git synced 2024-09-03 20:36:20 +02:00

Merge pull request #36 from YunoHost-Apps/testing

[fix] Unbound var
This commit is contained in:
ljf (zamentur) 2021-04-14 13:02:20 +02:00 committed by GitHub
commit 5c95bb4d3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ ynh_export ssh_user public_key quota alert_delay alert_mails
#=================================================
# Here is a small hack to avoid multi install CI test to fail due
# to same ssh_user provided
if [[ "$PACKAGE_CHECK_EXEC" = "1" ]] ; then
if [[ "${PACKAGE_CHECK_EXEC:-}" = "1" ]] ; then
ssh_user+="$YNH_APP_INSTANCE_NUMBER"
fi
ynh_system_user_exists --username=$ssh_user && ynh_die --message="This user already exists"