diff --git a/chdir.c b/chdir.c index a91d366c..e8ac2858 100644 --- a/chdir.c +++ b/chdir.c @@ -2,8 +2,7 @@ SYS_FUNC(chdir) { - if (entering(tcp)) { - printpath(tcp, tcp->u_arg[0]); - } - return 0; + printpath(tcp, tcp->u_arg[0]); + + return RVAL_DECODED; }