many wmiirc script running at the same time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wmii (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
this appears in wmii-3.9.2
This is extremely annoying if you want to reload wmiirc to try new configurations. And barely noticed by many users which never modify their wmiirc.
The problem is that we expect any running wmiirc script to finish it's execution when a new one is launched, ant that they don't.
The bug has been corrected in the wmii project repository at revision 2743:9d31d13386b8
As no new version has been released, and that the next one will probably be the 4.0, i publish here how to solve it.
I have no idea how this kind of bug is usually handled. Nor if it should be reported to Debian devellopers.
Here is the interresting part of the diff of cmp/wmii.sh.sh that will be installed in /usr/bin/wmii.sh
@@ -201,6 +208,8 @@
unset IFS
set -- $wi_event
event=$1; shift
+ [ "$event" = Start -a "$1" = "$wmiiscript" ] &&
+ exit
( Event $event "$@" )
done
true
-------
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy wmii
wmii:
Installé : 3.9.2+debian-
Candidat : 3.9.2+debian-
Table de version :
*** 3.9.2+debian-
500 http://
100 /var/lib/