On Sat, Jun 14, 2008 at 10:16:03PM +0200, Peter Hartlich wrote:
> Hi,
> 
> > [...] I was wondering if it would make sense to add a test in dmenu_path
> > to make sure the directory actually exists before trying to cd into it?
> 
> If you're bothered about cd printing an error message, you could just add
> 2>/dev/null to the cd line.
> 
> Regards,
> Peter

Doesn't it make more sense to do a test, then just redirect error
output?

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org

Reply via email to