1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00

error user variable syntax

This commit is contained in:
Robles Rodolphe 2023-01-24 07:50:50 +01:00 committed by GitHub
parent bf050cfbc8
commit 69f7470d4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -79,7 +79,7 @@ if [[ $migration_process -eq 1 ]]; then
final_path="/var/www/$app"
# Replace the user
pkill -u someuser
pkill -u $old_app
ynh_system_user_delete $old_app
ynh_system_user_create --username=$app --home_dir="$final_path"
fi