summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Src/Modules/newuser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/newuser.c b/Src/Modules/newuser.c
index 72d16e272..5c04a4f13 100644
--- a/Src/Modules/newuser.c
+++ b/Src/Modules/newuser.c
@@ -70,7 +70,7 @@ boot_(UNUSED(Module m))
if (!dotdir) {
dotdir = home;
if (!dotdir)
- return;
+ return 0;
}
if (check_dotfile(dotdir, ".zshenv") == 0 ||