run: Simplify running

We usually want the daemon so default to that when nothing
else is passed in.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
This commit is contained in:
Guido Günther
2025-10-24 13:43:39 +02:00
parent f501e909ab
commit 283f2ee1dc
+4 -2
View File
@@ -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