Commit 0d13da10 authored by David Johnson's avatar David Johnson
Browse files

Ensure Docker container2pty symlink dst is gone before starting new capture.

parent f80e3da0
......@@ -3362,6 +3362,9 @@ sub vnodeBootHook($$$$)
# survive when the container reboots or shuts down.
my $PTYLINKFILE = "$VMDIR/$vnode_id/vnode.pty";
if (-e $PTYLINKFILE) {
TBDebugTimeStamp("vnodeBootHook: starting container2pty;".
" symlink $PTYLINKFILE");
mysystem("$C2P $vnode_id $PTYLINKFILE &");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment