From f4c169793b87a6b6941c46655a1ffc0623604586 Mon Sep 17 00:00:00 2001 From: Josip Rodin Date: Sun, 13 Sep 2009 14:44:38 +0200 Subject: [PATCH] enter detektiramo jednostavno prema tome trazi li se /bin/sh iz editora --- linux/appstart.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/appstart.tcl b/linux/appstart.tcl index 2802fbd..41bb41c 100644 --- a/linux/appstart.tcl +++ b/linux/appstart.tcl @@ -28,7 +28,7 @@ proc spawnShell { node cmd } { } } else { # OpenVZ vzctl enter mod support, inace shell nema $PROMPT - if { $cmd == "enter" } { + if { $cmd == "/bin/sh" } { set shellcommand "vzctl enter $node" } else { set shellcommand "vzctl exec $node $cmd" -- 2.39.5