X-Git-Url: https://git.saurik.com/apple/configd.git/blobdiff_plain/af243a0d9bf37c3818926f82705eec9b22b50a4d..17d3ee29fb04fcc79d3be0b9d5c7bcb377cfc610:/configd.tproj/_notifyviasignal.c diff --git a/configd.tproj/_notifyviasignal.c b/configd.tproj/_notifyviasignal.c index 4021c40..9d15ce9 100644 --- a/configd.tproj/_notifyviasignal.c +++ b/configd.tproj/_notifyviasignal.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000-2004, 2006, 2009 Apple Inc. All rights reserved. + * Copyright (c) 2000-2004, 2006, 2009, 2011 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -46,10 +46,6 @@ __SCDynamicStoreNotifySignal(SCDynamicStoreRef store, pid_t pid, int sig) CFStringRef sessionKey; CFDictionaryRef info; - if ((store == NULL) || (storePrivate->server == MACH_PORT_NULL)) { - return kSCStatusNoStoreSession; /* you must have an open session to play */ - } - if (storePrivate->notifyStatus != NotifierNotRegistered) { /* sorry, you can only have one notification registered at once */ return kSCStatusNotifierActive;