Fix error in ynh_spawn_app_shell

This commit is contained in:
tituspijean 2023-05-24 22:21:35 +00:00
parent 5fa58f19ce
commit cacd43e147
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -190,7 +190,7 @@ ynh_spawn_app_shell() {
fi fi
# cd into the WorkingDirectory set in the service, or default to the install_dir # cd into the WorkingDirectory set in the service, or default to the install_dir
local env_dir = $(systemctl show $service.service -p "WorkingDirectory" --value) local env_dir=$(systemctl show $service.service -p "WorkingDirectory" --value)
[ -z $env_dir ] && env_dir=$install_dir; [ -z $env_dir ] && env_dir=$install_dir;
cd $env_dir cd $env_dir