FS#29145 - Bash typo in /etc/rc.d/functions
Attached to Project:
Community Packages
Opened by Nicolas Michel (sylock) - Wednesday, 28 March 2012, 09:43 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 28 March 2012, 13:47 GMT
Opened by Nicolas Michel (sylock) - Wednesday, 28 March 2012, 09:43 GMT
Last edited by Dave Reisner (falconindy) - Wednesday, 28 March 2012, 13:47 GMT
|
Details
Description:
At line 573 : The line looks like this: done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) And have to be fixed like this: done < $(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /) Additional info: * package version(s) /etc/rc.d/functions is owned by initscripts 2012.03.2-1 * config and/or log files etc. Steps to reproduce: At each boot process we get a bash interpreter error saying that '<' is unexpected at line 573 |
This task depends upon
Closed by Dave Reisner (falconindy)
Wednesday, 28 March 2012, 13:47 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#28331
Wednesday, 28 March 2012, 13:47 GMT
Reason for closing: Duplicate
Additional comments about closing:
Comment by
Dave Reisner (falconindy) -
Wednesday, 28 March 2012, 13:47 GMT
Please learn bash before reporting such "bugs". You have a script
in /etc/rc.d that is declared with a #!/bin/sh shebang.
/etc/rc.d/functions is strictly a bash script and cannot be
sourced by POSIX sh.