aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 78ca1d99c..138f19abd 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6440,7 +6440,7 @@ exptilde(char *startp, char *p, int flags)
goto lose;
home = pw->pw_dir;
}
- if (!home || !*home)
+ if (!home)
goto lose;
*p = c;
strtodest(home, SQSYNTAX, quotes);