From 283f2ee1dc3278589056735542c85b1f36d71710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 24 Oct 2025 13:43:00 +0200 Subject: [PATCH] run: Simplify running MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We usually want the daemon so default to that when nothing else is passed in. Signed-off-by: Guido Günther --- run.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run.in b/run.in index 33b3933..9d62ba6 100755 --- a/run.in +++ b/run.in @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e ABS_BUILDDIR='@ABS_BUILDDIR@' @@ -14,5 +14,7 @@ if [ "${FBD_GDB}" = 1 ]; then WRAPPER="gdb --args" fi +EXEC=${@:-${ABS_BUILDDIR}/src/feedbackd} + set -x -exec ${WRAPPER} "$@" +exec ${WRAPPER} $EXEC