Changeset 16933 for trunk/pstamp/src/pstampfinish.c
- Timestamp:
- Mar 10, 2008, 5:06:08 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/src/pstampfinish.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/src/pstampfinish.c
r16878 r16933 182 182 } 183 183 184 static bool finishRequest(psrfOptions *options, pstampRequestRow *pReq, psArray *stoppedJobs)184 static bool buildResultsFile(psrfOptions *options, pstampRequestRow *pReq, psArray *stoppedJobs) 185 185 { 186 186 // build results file in dsRoot/pReq->outFileset … … 238 238 psString command = NULL; 239 239 240 psStringAppend(&command, "dsreg --add --type PSRES PONSE--product %s --fileset %s",240 psStringAppend(&command, "dsreg --add --type PSRESULTS --product %s --fileset %s", 241 241 options->dsProduct, fileset_id); 242 242 … … 266 266 psError(PS_ERR_UNKNOWN, true, "dsreg failed with status: %d", status); 267 267 return false; 268 } 269 270 return true; 271 } 272 static bool finishRequest(psrfOptions *options, pstampRequestRow *pReq, psArray *stoppedJobs) 273 { 274 if (pReq->resultsFile) { 275 if (!buildResultsFile(options, pReq, stoppedJobs)) { 276 return false; 277 } 268 278 } 269 279 // update the database setting the request state to stop
Note:
See TracChangeset
for help on using the changeset viewer.
