Skip to content

Commit

Permalink
Fixed a compile error on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Jun 15, 2023
1 parent d6401ae commit ded7c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ fn is_binfmt_interpreter() -> bool {
Some(path) => PathBuf::from(path),
None => return false,
};
binary_path.file_name() == OsStr::from(Binfmt::FILENAME)
binary_path.file_name().to_string_lossy() == Binfmt::FILENAME
} else {
false
}
Expand Down

0 comments on commit ded7c54

Please sign in to comment.