sh: Improve debug output for each call.
commitf59af005a457bb90ca2b23ee23247cc8d58bd576
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 10 Sep 2019 21:17:40 +0000 (10 22:17 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 11 Sep 2019 10:50:10 +0000 (11 11:50 +0100)
tree4528a17cde1cd88e294cd412e6833f92911a3deb
parent5ea2aa0571ff10f5a0ab9f5bb78c3e348f1755e6
sh: Improve debug output for each call.

In particular this includes shell quoting (eg around empty parameters
or ones containing spaces).

The new output looks like:

  nbdkit: sh[1]: debug: calling: test.sh get_size ''
  nbdkit: sh[1]: debug: completed: test.sh get_size: status 0
plugins/sh/call.c