mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-22 00:08:04 +02:00
Fix a couple of typos
This commit is contained in:
@@ -96,7 +96,7 @@ spawn(PyObject *self UNUSED, PyObject *args) {
|
||||
#undef exit_on_err
|
||||
free(argv);
|
||||
free(env);
|
||||
if (pid == -1) return NULL;
|
||||
if (PyErr_Occurred()) return NULL;
|
||||
return PyLong_FromLong(pid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user