Author: duncan
Date: Thu Dec 28 15:29:40 2006
New Revision: 8850
Modified:
branches/rel-1/freevo/freevo
Log:
Swapped the return codes in stop
Modified: branches/rel-1/freevo/freevo
==============================================================================
--- branches/rel-1/freevo/freevo (original)
+++ branches/rel-1/freevo/freevo Thu Dec 28 15:29:40 2006
@@ -187,20 +187,20 @@
except OSError, e:
print 'os.unlink(fname=%s)=%s' % (fname, e)
os.kill(pid, SIGINT)
- return 0
+ return 1
except OSError, e:
print 'os.kill(pid=%s, SIGINT)=%s' % (pid, e)
try:
os.kill(pid, SIGTERM)
- return 0
+ return 1
except OSError, e:
print 'os.kill(pid=%s, SIGTERM)=%s' % (pid, e)
try:
os.kill(pid, SIGKILL)
- return 0
+ return 1
except OSError, e:
print 'os.kill(pid=%s, SIGKILL)=%s' % (pid, e)
- return 1
+ return 0
def start(name, arg, bg, store=1):
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog