Skip to content

Commit

Permalink
Update segfault msg to prnt \r\n instead of \n
Browse files Browse the repository at this point in the history
  • Loading branch information
victpork committed Jan 31, 2018
1 parent 6ed6cc1 commit d2ac890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion os/sys.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (sys *System) exec(path string, args []string, logger io.ReadWriter) (int,
"args": args,
"error": r,
}).Error("Command has crashed")
sys.Err().Write([]byte("Segmentation fault\n"))
sys.Err().Write([]byte("Segmentation fault\r\n"))
}
}()
var res int
Expand Down

0 comments on commit d2ac890

Please sign in to comment.