diff --git a/tsshbatch.py b/tsshbatch.py index bdecd6e..cdba0d2 100755 --- a/tsshbatch.py +++ b/tsshbatch.py @@ -20,7 +20,7 @@ CMDINCL = PROGENV + "CMDS" HOSTINCL = PROGENV + "HOSTS" -CVSID = "$Id: tsshbatch.py,v 1.198 2014/12/04 01:25:13 tundra Exp $" +CVSID = "$Id: tsshbatch.py,v 1.199 2014/12/04 22:23:02 tundra Exp $" VERSION = CVSID.split()[2] CPRT = "(c)" PROGDATE = "2011-2014" @@ -570,6 +570,10 @@ if status: raise + # Replace newlines with spaces + else: + val = val.replace("\n", " ") + except: PrintReport([PROGNAME, eBADEXEC % origval], HANDLER=PrintStderr)