Skip to content

Commit 3390fd0

Browse files
authored
make sure debug log path is printed even if app fails
1 parent 53f4c77 commit 3390fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

useful-tools/bin/AppRun-generic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ if [ "$APPIMAGE_DEBUG" = 1 ]; then
7171
export VK_LOADER_DEBUG=all
7272
export LC_ALL=C
7373
export SHARUN_PRINTENV=1
74-
"$TO_LAUNCH" "$@" 2>"$HOME"/"${APPIMAGE##*/}"-debug.log
74+
"$TO_LAUNCH" "$@" 2>"$HOME"/"${APPIMAGE##*/}"-debug.log || :
7575
>&2 echo "Debug log at: '$HOME/${APPIMAGE##*/}-debug.log'"
7676
else
7777
exec "$TO_LAUNCH" "$@"

0 commit comments

Comments
 (0)