Don't emit TODO to console every 5 minutes

Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
Holger Levsen 2018-03-12 15:01:06 +00:00
parent 2fd9e6a136
commit 2a7de5ecaf

View File

@ -13,7 +13,7 @@ module Log = (val Logs.src_log src : Logs.LOG)
let set_date_time flow =
Flow.read_line flow >|= function
| `Eof -> Log.warn (fun f -> f "EOF reading time from dom0"); 1
| `Ok line -> Log.info (fun f -> f "TODO: set time to %S" line); 0
| `Ok line -> 0 (* TODO: set time to "%S" line *)
let handler ~user:_ cmd flow =
(* Write a message to the client and return an exit status of 1. *)