Adapt to changes in Argeo TP
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / internal / kernel / GogoShellKiller.java
index 940fc8d9fcb37d878335b01b5b2a55869f704f7f..39b11a531eff15bf6b0e3ef9b0c6b6cd2ca39d34 100644 (file)
@@ -55,7 +55,7 @@ class GogoShellKiller extends Thread {
                Thread[] threads = new Thread[rootThreadGroup.activeCount()];
                rootThreadGroup.enumerate(threads, true);
                for (Thread thread : threads) {
-                       if (thread.getName().equals("Gogo shell"))
+                       if (thread.getName().equals("pipe-gosh --login --noshutdown"))
                                return thread;
                }
                return null;