mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Fix default working directory after attaching the container
This commit is contained in:
parent
ce7bd7e1ee
commit
c480666d9c
1 changed files with 1 additions and 1 deletions
2
ynh-dev
2
ynh-dev
|
@ -162,7 +162,7 @@ function attach_ynhdev()
|
|||
check_lxd_setup
|
||||
local BOX=${1:-ynh-dev}
|
||||
sudo lxc start $BOX 2>/dev/null || true
|
||||
sudo lxc exec $BOX -- /bin/bash
|
||||
sudo lxc exec $BOX --cwd /ynh-dev -- /bin/bash
|
||||
}
|
||||
|
||||
function destroy_ynhdev()
|
||||
|
|
Loading…
Reference in a new issue