Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#8514 - initscripts: status() always displays [DONE]

Attached to Project: Arch Linux
Opened by Roman Kyrylych (Romashka) - Monday, 05 November 2007, 16:06 GMT
Last edited by Roman Kyrylych (Romashka) - Monday, 05 November 2007, 16:21 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

status function from /etc/rc.d/functions ALWAYS displays [DONE]

Steps to reproduce:
Run the attached test script and you'll get:
[FAIL]
:: false [DONE]
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Monday, 05 November 2007, 16:21 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Monday, 05 November 2007, 16:17 GMT
Hm, probably it's a bug ("feature"?) in bash.
Here's a workaround though:
Comment by Roman Kyrylych (Romashka) - Monday, 05 November 2007, 16:21 GMT
Hehe, I'm fixing unexistent bugs. :D
Please ignore my stupidity. :-P I think I'd better go rest.

P.S.: I was using status() while didn't noticing it requires 2 arguments, first of which is a string.
Hence the "weird bug". ROFL. :D

Loading...