index cdcc9a3c200dfd1b658d98c9447b5b797b5cb0c0..e9dfd2e9549bd96bc8ce8c72f80b56f33c004f8f 100755 (executable)
stop_client() {
start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/gosa-si-client.pid --name gosa-si-client
kill `ps -C gosa-si-client -o pid=` > /dev/null 2>&1
- ps -C gosa-si-client -o pid= > /dev/null 2>&1
+ ! ps -C gosa-si-client -o pid= > /dev/null 2>&1
}
stop_server() {
start-stop-daemon --stop --retry 5 --quiet --pidfile /var/run/gosa-si-server.pid --name gosa-si-server
kill `ps -C gosa-si-server -o pid=` > /dev/null 2>&1
- ps -C gosa-si-server -o pid= > /dev/null 2>&1
+ ! ps -C gosa-si-server -o pid= > /dev/null 2>&1
}