aboutsummaryrefslogtreecommitdiffstats
path: root/pseudo_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo_util.c')
-rw-r--r--pseudo_util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pseudo_util.c b/pseudo_util.c
index a60c74b..172990b 100644
--- a/pseudo_util.c
+++ b/pseudo_util.c
@@ -1566,10 +1566,7 @@ pseudo_logfile(char *filename, char *defname, int prefer_fd) {
pseudo_util_debug_fd = fd;
}
free(pseudo_path);
- if (fd == -1)
- return -1;
- else
- return fd;
+ return fd;
}
int