[arch-general] Start a daemon, show a syntax error

郑文辉(Techlive Zheng) techlivezheng at gmail.com
Thu Feb 16 23:35:03 EST 2012


2012/2/17 大熊 <bearsprite at gmail.com>:
> 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 /)

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


More information about the arch-general mailing list