Skip to content

Commit

Permalink
Merge pull request #100 from bytedance/kulukami-patch-1
Browse files Browse the repository at this point in the history
Update detector.rs
  • Loading branch information
EBWi11 authored Aug 5, 2021
2 parents 6f6fe46 + 1ec20c4 commit ab0c2c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions agent/scanner/src/detector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,14 +626,14 @@ pub fn get_file_bmtime(m: &std::fs::Metadata) -> (u64, u64) {
let cti = match m.duration_since(UNIX_EPOCH) {
Ok(mi) => mi.as_secs(),
Err(e) => {
error!("{:?}", e);
//error!("{:?}", e);
0
}
};
cti
}
Err(e) => {
error!("{:?}", e);
//error!("{:?}", e);
0
}
};
Expand All @@ -642,14 +642,14 @@ pub fn get_file_bmtime(m: &std::fs::Metadata) -> (u64, u64) {
let cti = match m.duration_since(UNIX_EPOCH) {
Ok(mi) => mi.as_secs(),
Err(e) => {
error!("{:?}", e);
//error!("{:?}", e);
0
}
};
cti
}
Err(e) => {
error!("{:?}", e);
//error!("{:?}", e);
0
}
};
Expand Down

0 comments on commit ab0c2c2

Please sign in to comment.