15 lines
473 B
Diff
15 lines
473 B
Diff
|
--- src/scripts/cysignals-CSI.orig 2019-10-25 09:09:23.892784878 -0600
|
||
|
+++ src/scripts/cysignals-CSI 2019-10-25 09:24:39.077211746 -0600
|
||
|
@@ -172,7 +172,10 @@ def save_backtrace(output):
|
||
|
except KeyError:
|
||
|
pass
|
||
|
|
||
|
- mkdir_p(bt_dir)
|
||
|
+ try:
|
||
|
+ mkdir_p(bt_dir)
|
||
|
+ except PermissionError:
|
||
|
+ return None
|
||
|
if bt_days >= 0:
|
||
|
prune_old_logs(bt_dir, bt_days)
|
||
|
f, filename = tempfile.mkstemp(dir=bt_dir, prefix='crash_', suffix='.log')
|