Ignore:
Timestamp:
Nov 25, 2016, 8:04:54 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/util/become_daemon.c

    r988 r989  
    2525#include "system/filesys.h"
    2626#include "system/locale.h"
    27 #if HAVE_LIBSYSTEMD_DAEMON
     27#if
    2828#include <systemd/sd-daemon.h>
    2929#endif
     
    7070                newpid = fork();
    7171                if (newpid) {
    72 #if HAVE_LIBSYSTEMD_DAEMON
     72#if
    7373                        sd_notifyf(0, "READY=0\nSTATUS=Starting process...\nMAINPID=%lu", (unsigned long) newpid);
    7474#endif /* HAVE_LIBSYSTEMD_DAEMON */
     
    9999_PUBLIC_ void exit_daemon(const char *msg, int error)
    100100{
    101 #ifdef HAVE_LIBSYSTEMD_DAEMON
     101#if
    102102        if (msg == NULL) {
    103103                msg = strerror(error);
     
    118118                name = "Samba";
    119119        }
    120 #ifdef HAVE_LIBSYSTEMD_DAEMON
     120#if
    121121        sd_notifyf(0, "READY=1\nSTATUS=%s: ready to serve connections...", name);
    122122#endif
     
    130130                name = "Samba";
    131131        }
    132 #ifdef HAVE_LIBSYSTEMD_DAEMON
     132#if
    133133        sd_notifyf(0, "\nSTATUS=%s: %s", name, msg);
    134134#endif
Note: See TracChangeset for help on using the changeset viewer.