From: Aaron Lehmann Date: Mon, 31 Dec 2001 06:13:38 +0000 (-0000) Subject: ash patch: initvar-diff X-Git-Tag: 0_60_3~138 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9a218bf979966442c48e02270711a4e632ea6a90;p=oweals%2Fbusybox.git ash patch: initvar-diff --- diff --git a/shell/ash.c b/shell/ash.c index db52e5e92..8d6ad16a7 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 * 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) {