diff options
-rw-r--r-- | src/general.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/general.c b/src/general.c index 1b11bd8..ca6884b 100644 --- a/src/general.c +++ b/src/general.c @@ -27,7 +27,7 @@ bool slurp(const char *filename, char *destination, int size) { destination[n] = '\0'; (void)close(fd); - return true; + return n != -1; } /* |