open-iscsi / configshell-fb

configshell with additional modifications, see README
Apache License 2.0
28 stars 37 forks source link

Ensure that all output reaches the client when daemonized #54

Closed iammattcoleman closed 4 years ago

iammattcoleman commented 5 years ago

Any commands that use epy_write are currently writing to sys.stdout, so their output hits the systemd journal when daemonized. This commit ensures that the correct "stdout" is used, which ensures that the output is sent over the socket to targetcli.