On Mon, 31 May 2004 17:41:28 +1000
Michael Lake <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Prob solved. I had to do an extra shell exit as I was still in the
> spawned shell from script. Once I exited (twice?) the file typescript
> did indeed have the output of apt-get. I will have to be careful what
> level of shell I am in.

In bash, look at the value of the environment variable SHLVL.


Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+-----------------------------------------------------------+
A good debugger is no substitue for a good test suite.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to