Commit e4f1afcf authored by Mac Newbold's avatar Mac Newbold
Browse files

Fix bug that was causing event_sched to fail incorrectly when there were

no nodes in the expt. (The lib assumed the expt didn't exist if it didn't
find any nodes for it.)

NOTE: You have to gmake clean the event/sched/ dir before this will get
built in properly! Don't install your version without it!
parent 665c49cd
* Copyright (c) 2000-2002 University of Utah and the Flux Group.
* Copyright (c) 2000-2003 University of Utah and the Flux Group.
* All rights reserved.
......@@ -194,10 +194,11 @@ mydb_checkexptnodeeventstate(char *pid, char *eid,
if (! (nrows = mysql_num_rows(res))) {
error("checkexptnodeeventstate: No such experiment: %s/%s",
error("checkexptnodeeventstate: Warning: no nodes: %s/%s",
pid, eid);
return 0;
/* Warn, then return sucessfully */
return 1;
*count = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment