Skip to content

Commit 94b9dc7

Browse files
committed
add missing argument
1 parent 5a1dfbd commit 94b9dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git2-hooks/src/hookspath.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl HookPaths {
133133

134134
os_str
135135
};
136-
run_command(sh_command().arg(command))
136+
run_command(sh_command().arg("-c").arg(command))
137137
} else {
138138
// execute hook directly
139139
match run_command(&mut Command::new(&hook)) {

0 commit comments

Comments
 (0)