summaryrefslogtreecommitdiffstats
path: root/tupkg/client
diff options
context:
space:
mode:
Diffstat (limited to 'tupkg/client')
-rwxr-xr-xtupkg/client/tupkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg
index c4806c9f..021e647b 100755
--- a/tupkg/client/tupkg
+++ b/tupkg/client/tupkg
@@ -87,6 +87,9 @@ class ClientSocket:
reply = self.readMsg(1)
if reply['result'] == ["PASS"]:
return 1
+ elif reply['result'] == ["SQLERR"]:
+ print "SQL server-side error"
+ return 0
else:
return 0