mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Fix LXC_CONNECT_INFO
This commit is contained in:
parent
386634d751
commit
4007177ea5
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ LXC_CONNECT_INFO () {
|
|||
echo -e "\e[1msudo lxc-attach -n $lxc_name -- command\e[0m"
|
||||
|
||||
echo "To establish a ssh connection:"
|
||||
if [ $(cat "$script_dir/setup_user") = "root" ]; then
|
||||
if [ $(cat "$script_dir/sub_scripts/setup_user") = "root" ]; then
|
||||
echo -ne "\e[1msudo "
|
||||
fi
|
||||
echo -e "\e[1mssh $arg_ssh $lxc_name\e[0m"
|
||||
|
|
Loading…
Add table
Reference in a new issue