aboutsummaryrefslogtreecommitdiffstats
path: root/src/lush.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lush.c b/src/lush.c
index 0b1c21b..bf5a283 100644
--- a/src/lush.c
+++ b/src/lush.c
@@ -69,7 +69,7 @@ int lush_cd(lua_State *L, char ***args) {
char *exp_path = realpath(path, extended_path);
if (!exp_path) {
perror("realpath");
- return 0;
+ return 1;
}
if (chdir(exp_path) != 0) {
perror("lush: cd");