mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-09 08:28:02 +02:00
* dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon): fix _dbus_pid_fd check.
This commit is contained in:
parent
af4e4dc276
commit
1f8d30bea1
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-03-12 Ralf Habacker <ralf.habacker@freenet.de>
|
||||||
|
|
||||||
|
* dbus/dbus-sysdeps-util-unix.c (_dbus_become_daemon):
|
||||||
|
fix _dbus_pid_fd check.
|
||||||
|
|
||||||
2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
|
2007-03-10 Ralf Habacker <ralf.habacker@freenet.de>
|
||||||
|
|
||||||
* tools/dbus-print-message.c (print_message):
|
* tools/dbus-print-message.c (print_message):
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ _dbus_become_daemon (const DBusString *pidfile,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Write PID if requested */
|
/* Write PID if requested */
|
||||||
if (print_pid_fd >= 0)
|
if (_dbus_pipe_is_valid(print_pid_fd))
|
||||||
{
|
{
|
||||||
DBusString pid;
|
DBusString pid;
|
||||||
int bytes;
|
int bytes;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue