taskd.pl: ignore "nop" command
commitdd825899992ff3d50b6015165c13c065f4023d49
authorKyle J. McKay <mackyle@gmail.com>
Sun, 27 Nov 2016 01:41:54 +0000 (26 17:41 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 27 Nov 2016 01:41:54 +0000 (26 17:41 -0800)
treebf700682918caea9d068a56ec4334ae6f7ba26cc
parent9e2fa5633c19bdb9f900e5bb3e94688d8be7f43a
taskd.pl: ignore "nop" command

While an empty line can be used as a "no operation" command,
officially support "nop" to do the same thing.

This can be used to, for example, reset the idle timer or,
when running in inetd mode, force the daemon to launch.

And while we're in there, make sure the "ignoring unknown command"
message gets a real status header and exit code.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
taskd/taskd.pl