diff options
author | Aaron Lehmann | 2001-12-31 06:13:38 +0000 |
---|---|---|
committer | Aaron Lehmann | 2001-12-31 06:13:38 +0000 |
commit | 9a218bf979966442c48e02270711a4e632ea6a90 (patch) | |
tree | 5788267ee01fc9fed80e199c6818580cff3d47f5 | |
parent | 1a6986699f45c670584b5d63c4e2799bc9bb02ad (diff) | |
download | busybox-9a218bf979966442c48e02270711a4e632ea6a90.zip busybox-9a218bf979966442c48e02270711a4e632ea6a90.tar.gz |
ash patch: initvar-diff
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index db52e5e..8d6ad16 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -11940,7 +11940,7 @@ initvar() { * PS1 depends on uid */ if ((vps1.flags & VEXPORT) == 0) { - vpp = hashvar("PS1="); + vpp = hashvar("PS1=$"); vps1.next = *vpp; *vpp = &vps1; vps1.text = xstrdup(geteuid() ? "PS1=$ " : "PS1=# "); @@ -12470,7 +12470,7 @@ findvar(struct var **vpp, const char *name) /* * Copyright (c) 1999 Herbert Xu <herbert@debian.org> * This file contains code for the times builtin. - * $Id: ash.c,v 1.43 2001/12/31 06:12:48 aaronl Exp $ + * $Id: ash.c,v 1.44 2001/12/31 06:13:38 aaronl Exp $ */ static int timescmd (int argc, char **argv) { |