wok-next rev 1980
Openldap; typo in start script
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 04 11:32:22 2009 +0000 (2009-01-04) |
parents | 27d5edd4588a |
children | bf9b1734ec69 |
files | openldap/stuff/etc/init.d/openldap |
line diff
1.1 --- a/openldap/stuff/etc/init.d/openldap Sun Jan 04 09:55:26 2009 +0000 1.2 +++ b/openldap/stuff/etc/init.d/openldap Sun Jan 04 11:32:22 2009 +0000 1.3 @@ -20,7 +20,7 @@ 1.4 echo "$NAME already running." 1.5 exit 1 1.6 fi 1.7 - if [ -f /var/openldap-data/__db.001 ]; then 1.8 + if [ ! -f /var/openldap-data/__db.001 ]; then 1.9 echo -n "Starting $DESC: $NAME... " 1.10 $DAEMON $OPTIONS && sleep 2 1.11 status