Skip to content

Commit 65c5997

Browse files
committed
add debug print
1 parent 1370a14 commit 65c5997

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

git2-hooks/src/hookspath.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ impl HookPaths {
124124
// execute hook directly
125125
match run_command(Command::new(&hook)) {
126126
Err(err) if err.raw_os_error() == Some(8) => {
127+
eprintln!("GOT ENOEXEC: {err}");
127128
run_command(sh_command(&hook))
128129
}
129130
result => result,

0 commit comments

Comments
 (0)