Merge "Add more detail to the error reporting."
diff --git a/pduclient b/pduclient
index 2e8464a..15b04d5 100755
--- a/pduclient
+++ b/pduclient
@@ -23,7 +23,7 @@
     string = ("%s %s %s" % (options.pduhostname, options.pduportnum, options.pducommand))
     sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
     #sock.setblocking(0)  # optional non-blocking
-    reply = "nack"
+    reply = ""
     try:
         sock.connect((options.pdudaemonhostname, 16421))
         sock.send(string)
@@ -36,5 +36,6 @@
         print("Command sent successfully.")
         exit(0)
     else:
-        print("Unknown error sending command!")
-        exit(127)
\ No newline at end of file
+        print("Unknown error sending command! %s replied: %s" % (options.pdudaemonhostname, reply))
+        exit(127)
+
diff --git a/setup.py b/setup.py
index c2a6fd3..f74a3eb 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@
 
 setup(
     name='lavapdu',
-    version="0.0.1",
+    version="0.0.2",
     author="Matthew Hart",
     author_email="matthew.hart@linaro.org",
     license="GPL2+",
@@ -43,7 +43,8 @@
     ],
     scripts=[
         'lavapdu-runner',
-        'lavapdu-listen'
+        'lavapdu-listen',
+        'pduclient'
     ],
     zip_safe=False,
     include_package_data=True)