[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: popd always has return status 0

From: Mike Frysinger
Subject: Re: popd always has return status 0
Date: Sat, 3 Dec 2011 02:06:32 -0500
User-agent: KMail/1.13.7 (Linux/3.1.0; KDE/4.6.5; x86_64; ; )

On Thursday 01 December 2011 19:01:50 james.cuzella@lyraphase.com wrote:
> Description:
>       popd does not appear to return a nonzero exit status when the directory
> stack is empty anymore.

works for me:
$ echo $BASH_VERSION ; popd ; echo $?
bash: popd: directory stack empty

as does your popall func

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]