diff --git a/tsshbatch.py b/tsshbatch.py index c8682c5..6b7e4bd 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -20,7 +20,7 @@ CMDINCL = PROGENV + "CMDS" HOSTINCL = PROGENV + "HOSTS" -CVSID = "$Id: tsshbatch.py,v 1.179 2014/03/28 20:24:54 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.180 2014/03/28 20:28:10 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" DATE = "2011-2014" @@ -291,7 +291,7 @@ ssh.close() except: - PrintReport([host, eFXERROR % (sys.exc_info()[1])]) + ErrorExit(eFXERROR % (str(sys.exc_info()[1]))) try: sftp.close()