Skip to content

Commit 3748947

Browse files
committed
Avoid truncation
1 parent ba88bd5 commit 3748947

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 = ['/usr/bin/sudo', '-u', 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")
191191
logger.info("done")
192192
end
193193
end

0 commit comments

Comments
 (0)