aboutsummaryrefslogtreecommitdiffstats
path: root/unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index c3ecbc99..0d373234 100644
--- a/unix.c
+++ b/unix.c
@@ -166,7 +166,7 @@ int main( int argc, char *argv[] )
/* Looks like env should *not* be freed here as putenv
doesn't make a copy. Odd. */
- chdir( old_cwd );
+ i = chdir( old_cwd );
close( global.listen_socket );
if( execv( argv[0], argv ) == -1 )