FS#28331 - [initscripts] 2012.01.3-1 typo in /etc/rc.d/functions

Attached to Project: Arch Linux
Opened by Mathieu Bois (boism) - Thursday, 09 February 2012, 01:49 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 09 February 2012, 02:46 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
[initscripts] 2012.01.3-1 typo in /etc/rc.d/functions causing syntax error

Steps to reproduce:
sh /etc/rc.d/functions
/etc/rc.d/functions: line 501: syntax error near unexpected token `<'
/etc/rc.d/functions: line 501: ` done < <(findmnt -mrunRo TARGET,FSTYPE,OPTIONS /)'

How to amend:
Replace "<(findmnt" by "$(findmnt"

Please get the package corrected.

Best regards
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 09 February 2012, 02:46 GMT
Reason for closing:  Not a bug
Additional comments about closing:  you need to use bash:
$ bash /etc/rc.d/functions
Comment by Karol Błażewicz (karol) - Thursday, 09 February 2012, 02:36 GMT
initscripts require bash:

[karol@black ~]$ head -1 /etc/rc.d/functions
#!/bin/bash

Loading...