bernhard: server/kolabd/kolabd kolab_bootstrap.in,1.2,1.3

cvs at intevation.de cvs at intevation.de
Tue Sep 20 21:41:57 CEST 2005


Author: bernhard

Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv19030

Modified Files:
	kolab_bootstrap.in 
Log Message:
Changing ps call to POSIX standard options.


Index: kolab_bootstrap.in
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/kolab_bootstrap.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kolab_bootstrap.in	15 Sep 2005 11:23:12 -0000	1.2
+++ kolab_bootstrap.in	20 Sep 2005 19:41:55 -0000	1.3
@@ -381,7 +381,7 @@
         ."Please stop any running ldap server and bootstrap again\n";
       tryConnect( '127.0.0.1', 9999 ) && die "A process is already listening to port 9999 (kolabd)\n"
         ."Please stop any running kolabd and bootstrap again\n";
-      if( `ps aux|grep slurpd|grep -v grep` ) {
+      if( `ps -elf|grep slurpd|grep -v grep` ) {
         print "Error: Detected running slurpd processes.\n";
         print "Please make sure the OpenLDAP server is stopped properly!\n";
         exit 1;
@@ -693,7 +693,7 @@
     ."Please stop any running ldap server and bootstrap again\n";
   tryConnect( '127.0.0.1', 9999 ) && die "A process is already listening to port 9999 (kolabd)\n"
     ."Please stop any running kolabd and bootstrap again\n";
-  if( `ps aux|grep slurpd|grep -v grep` ) {
+  if( `ps -elf|grep slurpd|grep -v grep` ) {
     print "WARNING: Detected running slurpd processes.\n";
     print " Please make sure the OpenLDAP server is stopped properly!\n";
   }





More information about the commits mailing list