sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 11740] New: cast --queue always returns 1
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 11740] New: cast --queue always returns 1
- Date: 2 May 2006 08:04:04 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=11740
Summary: cast --queue always returns 1
Product: Sorcery
Version: 1.13.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: thomas-forum AT orgis.org
I tried
cast --queue && cast $some_stuff
and was astonished as after the successfull cast of all spells in queue it
stopped - and not started the
second cast. Investigation of sqweek in IRC showed a possible clue:
< sqweek> if ! [[ $SPELLS ]]; then return 1; fi #<-- this is what
we're hitting, i suspect
< sqweek> when cast sees --queue, it reruns cast `cat $INSTALL_QUEUE`
< sobukus> hm
< sqweek> then in the first instance of cast, there are still no
spells on the command line
So, although I could rephrase my first attempt to cast --queue $stuff, I
think cast should always return 0
when there was no failure (that would ease any automated cast calling with
possibly empty list of
spells - a failure is unexpected there, IMHO); at least cast --queue should
not return 1 when the queue
succeeded.
--
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.
- [SM-Sorcery-Bugs] [Bug 11740] New: cast --queue always returns 1, bugzilla-daemon, 05/02/2006
Archive powered by MHonArc 2.6.24.