mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-19 10:54:25 +00:00
Cleanup previous PR
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
This commit is contained in:
parent
ad2659bd18
commit
8a101a6d91
1 changed files with 4 additions and 2 deletions
|
|
@ -218,8 +218,10 @@ def store_effective_config() -> tuple[str, str]:
|
|||
path = os.path.join(dest, f'{os.getpid()}')
|
||||
os.replace(tf.name, path)
|
||||
except OSError as err:
|
||||
# writing the effective config is a best effort debugging aid, do not
|
||||
# let it prevent kitty from starting, for example, when the disk is full
|
||||
# effective config is used by some kittens to read the config of the
|
||||
# current kitty instance. If missing they fallback to parsing
|
||||
# kitty.conf so ignore the error which would prevent kitty from
|
||||
# starting.
|
||||
msg = f'Failed to store effective config with error: {err}'
|
||||
log_error(msg)
|
||||
return '', msg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue