]> git.proxmox.com Git - pve-container.git/commit
pct enter: check if container runs before lxc-attach
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Feb 2016 08:33:41 +0000 (09:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 24 Feb 2016 09:35:49 +0000 (10:35 +0100)
commitd4b3eead6eda68ae9b706c1e2d27abbfd959674f
tree331a7eb6d3f9c3069394e96878d59c636345f901
parent5ab55c6d3e6fe38c0dfa46f192b1a4c1d31aaa0c
pct enter: check if container runs before lxc-attach

else we get:
 >
 > lxc-attach: attach.c: lxc_attach: 710 failed to get the init pid

which an arbitrary user could misunderstand.
src/PVE/CLI/pct.pm