Bug 3602

Summary: zsh startup occasionally prints nonfatal error message.
Product: [Retired] Red Hat Linux Reporter: George Karabin <gkarabin>
Component: zshAssignee: Jay Turner <jturner>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.0CC: srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-09-25 03:36:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description George Karabin 1999-06-20 20:51:24 UTC
I use zsh as my user account's default shell. On two
different RH 6.0 clean installations, I *sometimes* see this
error message when starting a gnome terminal:

/etc/zshenv: parse error: condition expected: -eq [12]

I can't remember ever seeing the problem when starting a new
zsh from the command line. ('zsh' or 'exec zsh'). A cheezy
20-try test shows that the problem doesn't happen when
invoking a new zsh from the command line.

I'm not certain what bad effects, if any, this is likely to
have. The only thing that I can think of is that, perhaps, a
root user running a gnome terminal with a shell of zsh would
not get a path that includes /sbin and /usr/sbin, from time
to time.

Comment 1 Michael K. Johnson 1999-09-25 03:36:59 UTC
Probably fixed for our upcoming Red Hat Linux 6.1 release.  Re-open
this bug if after upgrading to zsh-3.0.5-15 or later you still have
this problem.  (3.0.5-15 will show up in the next RawHide release).