We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8ec2bb commit 7b139b4Copy full SHA for 7b139b4
packages/autorun-scan/src/raw/linux.rs
@@ -37,7 +37,7 @@ pub fn scan(signature: &[Option<u8>], target_module: Option<&str>) -> Result<Opt
37
let _inode = entries[4];
38
let path = entries.get(5); // Optional
39
40
- if Some(target_module) = target_module {
+ if let Some(target_module) = target_module {
41
let module_path = path.unwrap_or(&"");
42
let module_name = module_path.rsplit('/').next().unwrap_or("");
43
if module_name != target_module {
0 commit comments