bug fix on process_run
This commit is contained in:
parent
bd453a99e0
commit
c9051347d0
|
@ -166,8 +166,6 @@ int main(int argc, char **argv) {
|
|||
fseek(fpr, fprpos, SEEK_SET);
|
||||
|
||||
|
||||
|
||||
|
||||
//Get memory for default number of subevents per channel id
|
||||
for (i=0; i<MAX_ID; i++){
|
||||
subevents[i] = (struct subevent *)malloc(sizeof(struct subevent)*DEF_SUB_EVENTS);
|
||||
|
|
|
@ -97,8 +97,8 @@ if [ $Method -eq 1 ]; then
|
|||
echo -e "$RED>>> `date` >>>>>>>>>>>>>>>>>>>>>>> Build Events $NC"
|
||||
if [ ${isBuildEvents} -ge 1 ]; then
|
||||
if [ -f ${rootFolder} ]; then # root exist
|
||||
toDateTime=`stat -c "%Z" ${toFolder} | sort -rn | head -1`
|
||||
rootDateTime=`stat -c "%Z" ${rootFolder} | sort -rn | head -1`
|
||||
toDateTime=`stat -c "%Z" ${toFile} | sort -rn | head -1`
|
||||
rootDateTime=`stat -c "%Z" ${rootFile} | sort -rn | head -1`
|
||||
if [ ${toDateTime} -gt ${rootDateTime} ]; then
|
||||
|
||||
if [ ${isBuildEvents} -gt 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user