mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 15:01:44 +01:00
fix missing log file extension
This commit is contained in:
parent
938dffc63d
commit
885548177b
@ -33,7 +33,7 @@ pub fn machinelog(machine: &str, booking: &Booking) -> io::Result<()> {
|
||||
|
||||
File::options()
|
||||
.append(true)
|
||||
.open("/root/machinelog")?
|
||||
.open("/root/machinelog.csv")?
|
||||
.pipe(csv::Writer::from_writer)
|
||||
.serialize(record)
|
||||
.map_err(|_| io::ErrorKind::Other.into())
|
||||
|
Loading…
x
Reference in New Issue
Block a user