]> git.entuzijast.net Git - imunes.git/commitdiff
enter detektiramo jednostavno prema tome trazi li se /bin/sh iz editora
authorJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 12:44:38 +0000 (14:44 +0200)
committerJosip Rodin <joy@numa-ubuntu-vm.(none)>
Sun, 13 Sep 2009 12:44:38 +0000 (14:44 +0200)
linux/appstart.tcl

index 2802fbd1b98bb3acaee4117799b556781e3d4934..41bb41ca9168b38f83857eca9c0c19956cff5cd7 100644 (file)
@@ -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"