Fix return code if executable already exists
This commit is contained in:
committed by
T. R. Bernstein
parent
efb8b304bd
commit
d73b3448f6
@@ -33,7 +33,7 @@ function getDataForLogitechKeyboard() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function createXPCConsumer() {
|
function createXPCConsumer() {
|
||||||
[[ -x ${xpcConsumerPath} ]] && return 10
|
[[ -x ${xpcConsumerPath} ]] && return
|
||||||
clang -framework Foundation -x objective-c -o ${xpcConsumerPath} - <<- BINARY
|
clang -framework Foundation -x objective-c -o ${xpcConsumerPath} - <<- BINARY
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#include <xpc/xpc.h>
|
#include <xpc/xpc.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user