mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-11-17 00:00:02 +01:00
wip
This commit is contained in:
1 parent
e1ed49a843
commit
665a44998b
1 file changed
+9
@@ -153,6 +153,15 @@ int startCopyingFPGAProgram(FILE **fd, uint64_t fsize, char *mess) {
|
||||
// LOG(logERROR, (mess)); already printed in executecommand
|
||||
return FAIL;
|
||||
}
|
||||
LOG(logINFO, ("Deleted old file\n"));
|
||||
memset(cmd, 0, MAX_STR_LENGTH);
|
||||
strcpy(cmd, "ls -lrt /va/tmp/*");
|
||||
memset(retvals, 0, MAX_STR_LENGTH);
|
||||
if (FAIL == executeCommand(cmd, retvals, logDEBUG1)) {
|
||||
strcpy(mess, retvals);
|
||||
// LOG(logERROR, (mess)); already printed in executecommand
|
||||
return FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
// check available memory to copy program
|
||||
|
||||
Reference in new issue
Block a user