Skip to content

Commit 7fae08f

Browse files
committed
lib/exectool.sh: avoid exit status warnings from jj show --tool
Signed-off-by: Tim Janik <timj@gnu.org>
1 parent 99fbc9f commit 7fae08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/exectool.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
# This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0
3-
exec $EXECTOOL_CMD "$@"
3+
$EXECTOOL_CMD "$@" || : # avoid 'Warning: Tool exited with exit status: 1'
44
# Hook to serve as a single-executable trampoline for e.g. `EXECTOOL_CMD="git diff" jj show --tool exectool.sh`

0 commit comments

Comments
 (0)