This commit is contained in:
2021-09-03 17:50:05 +02:00
parent 74b55c2d5c
commit 99153b4dc2
2 changed files with 4 additions and 1 deletions

View File

@@ -159,9 +159,11 @@ int startCopyingFPGAProgram(FILE **fd, uint64_t fsize, char *mess) {
memset(retvals, 0, MAX_STR_LENGTH);
if (FAIL == executeCommand(cmd, retvals, logDEBUG1)) {
strcpy(mess, retvals);
LOG(logERROR, ("fail\n"));
// LOG(logERROR, (mess)); already printed in executecommand
return FAIL;
}
LOG(logINFOBLUE, ("success\n"));
}
// check available memory to copy program