Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 11740] cast --queue always returns 1

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 11740] cast --queue always returns 1
  • Date: 2 May 2006 08:24:39 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=11740





------- Additional Comments From sqweek AT gmail.com 2006-05-02 03:24 -------
For reference, the code I am quoting is from /usr/sbin/cast:758

It strikes me that the whole --queue thing could be dealt with more elegantly
within cast's main() function (instead of hacking about with recursive calls
during argument parsing) via something along the lines of:

if [[ -n $queue ]]; then
SPELLS=`cat $INSTALL_QUEUE`
else
SPELLS=`strip_parameters "$@"`
fi

Along with, of course, a similar check after the cast to check whether the
queue is empty (would pass_five() be a reasonable spot for this?).

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page