ispman/bin ispman.commitSession,1.5,1.6
Joerg Delker <[email protected]> Mon, 02 Oct 2006 16:50:31 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv418/bin
Modified Files:
ispman.commitSession
Log Message:
fixed bug [ 1566950 ] ispman.commitSession should return an error
Index: ispman.commitSession
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.commitSession,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ispman.commitSession 5 Jun 2004 12:45:18 -0000 1.5
+++ ispman.commitSession 2 Oct 2006 16:50:28 -0000 1.6
@@ -10,6 +10,10 @@
my $session = shift @ARGV;
print "Committing session $session\n";
-$ispman->releaseSession($session);
+if (my $tasks=$ispman->releaseSession($session)) {
+ print "... processes $tasks task(s)\n";
+} else {
+ print "... no tasks found\n";
+}
__END__
-------------------------------------------------------------------------
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