Fix return code if executable already exists

This commit is contained in:
T. R. Bernstein
2024-06-28 02:52:58 +02:00
committed by T. R. Bernstein
parent efb8b304bd
commit d73b3448f6

View File

@@ -33,7 +33,7 @@ function getDataForLogitechKeyboard() {
}
function createXPCConsumer() {
[[ -x ${xpcConsumerPath} ]] && return 10
[[ -x ${xpcConsumerPath} ]] && return
clang -framework Foundation -x objective-c -o ${xpcConsumerPath} - <<- BINARY
#import <Foundation/Foundation.h>
#include <xpc/xpc.h>