Skip to content

Commit b899778

Browse files
committed
Set exception: true
1 parent e5068a4 commit b899778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgi-bin/webhook.cgi

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ class PushHook
187187
def execute(*cmd, user:)
188188
cmd = ['/home/git/git.ruby-lang.org/bin/sudo-u.sh', user, *cmd]
189189
logger.info("+ #{cmd.shelljoin}")
190-
system("#{cmd.shelljoin} >> #{Webhook::LOG_PATH} 2>&1")
190+
system("#{cmd.shelljoin} >> #{Webhook::LOG_PATH} 2>&1", exception: true)
191191
logger.info("done")
192192
end
193193
end

0 commit comments

Comments
 (0)