diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2015-07-21 02:02:40 +0200 |
---|---|---|
committer | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2015-07-21 02:02:40 +0200 |
commit | 23e67aa516533179ba597a6b0e58556ef1be9557 (patch) | |
tree | be1b1efdcc5f50092dd81e2d59f2ff065428b30a | |
parent | c311315e665504e6ba2d8df27daedeeeb758a1e7 (diff) | |
parent | 6532a611b1036a1e375d5f60aa024300dde24239 (diff) |
Merge pull request #7564 from wsnipex/crashlog_isengard
-rw-r--r-- | tools/Linux/kodi.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in index 43290f81d9..421c9485c5 100644 --- a/tools/Linux/kodi.sh.in +++ b/tools/Linux/kodi.sh.in @@ -113,7 +113,9 @@ print_crash_report() fi single_stacktrace "$BASEDIR" 5 # find in userdata dir - single_stacktrace $USERDATA_DIR/ 5 + single_stacktrace "$HOME" 5 + # try /proc/sys/kernel/core_pattern + [ -d "$(dirname $(cat /proc/sys/kernel/core_pattern))" ] && single_stacktrace "$(dirname $(cat /proc/sys/kernel/core_pattern))" 1 else echo "gdb not installed, can't get stack trace." >> $FILE fi |