Re: Start a daemon, show a syntax error

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



On Fri, Feb 17, 2012 at 12:35:03PM +0800, 郑文辉(Techlive Zheng) wrote:
> 2012/2/17 大熊 <bearsprite@xxxxxxxxx>:
> > No matter I manual start any a daemon, I always see a error shown on
> > console:
> >
> > /etc/rc.d/functions: line 506: syntax error near unexpected token `('
> > /etc/rc.d/functions: line 506: `        done < <(findmnt -mrunRo
> > TARGET,FSTYPE,OPTIONS /)
> >
> > But it seem that the daemon can run correctly, so should I need to fix it
> > and how to fix it ?
> 
> I don't know why this bug is always occur again and again.
> 
> The fix is to edit /etc/rc.d/functions, change line 506 to the following:
> 
> done < $(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /)

Nope. Don't do that. Post the output of `bash --help | head -1`, `which
bash` and `pacman -Qo /bin/bash`.

> 
> /etc/bash_completion.d/git has the same issue before.


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux