From d73b3448f6c54740c5d31bb7dce5bcb1b39dbfed Mon Sep 17 00:00:00 2001 From: "T. R. Bernstein" <137705289+trbernstein@users.noreply.github.com> Date: Fri, 28 Jun 2024 02:52:58 +0200 Subject: [PATCH] Fix return code if executable already exists --- modules/05-install-remap-keys.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/05-install-remap-keys.sh b/modules/05-install-remap-keys.sh index c36bae5..9429d69 100755 --- a/modules/05-install-remap-keys.sh +++ b/modules/05-install-remap-keys.sh @@ -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 #include