commit | 1161642d2288f71549f0c9f89d09807ca251b58f | [log] [tgz] |
---|---|---|
author | Andrew Jeffery <andrew@aj.id.au> | Fri Jan 14 22:57:16 2022 +1030 |
committer | Andrew Jeffery <andrew@aj.id.au> | Fri Jan 21 10:14:58 2022 +1030 |
tree | 1a6240353583f16f697d2ef860e00dcac9c73a5a | |
parent | ea84ad977dc202f4b17c9faf4087949b82b86c92 [diff] [blame] |
main: Log command read from source Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: Ifeec81b37768052cabed63ff814499c8972817e1
diff --git a/main.c b/main.c index a1b4953..8bfec4d 100644 --- a/main.c +++ b/main.c
@@ -471,9 +471,11 @@ while (!(rc = source->ops->poll(source->ctx, &command))) { switch (command) { case 'D': + warnx("Debug action triggered\n"); sink->ops->debug(sink->ctx); break; case 'R': + warnx("Reboot action triggered\n"); sink->ops->reboot(sink->ctx); break; default: