forked from vieter-v/vieter
fix: don't buffer stdout even if not a terminal
This commit is contained in:
parent
1ce7b9d571
commit
489931eaa8
2 changed files with 6 additions and 0 deletions
|
|
@ -12,6 +12,11 @@ import cron
|
|||
import agent
|
||||
|
||||
fn main() {
|
||||
// Stop buffering output so logs always show up immediately
|
||||
unsafe {
|
||||
C.setbuf(C.stdout, 0)
|
||||
}
|
||||
|
||||
mut app := cli.Command{
|
||||
name: 'vieter'
|
||||
description: 'Vieter is a lightweight implementation of an Arch repository server.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue