Commit 496a46b3 authored by Philipp Stephani's avatar Philipp Stephani
Browse files

* src/emacs.c (load_seccomp): Fix condition.

parent 8b928976
......@@ -1091,7 +1091,7 @@ load_seccomp (const char *file)
success = true;
out:
if (fd < 0)
if (0 <= fd)
emacs_close (fd);
free (buffer);
return success;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment