add trailing newline to ssh files
authorStephen Gran <steve@lobefin.net>
Sat, 30 Jan 2010 13:32:02 +0000 (13:32 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 30 Jan 2010 13:32:02 +0000 (13:32 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
ud-generate

index c93fdf6..358b375 100755 (executable)
@@ -403,7 +403,7 @@ def GenSSHtarballs(userlist, SSHFiles, grouprevmap, target):
          lines.append(line)
       if not lines:
          continue # no keys for this host
-      contents = "\n".join(lines)
+      contents = "\n".join(lines) + "\n"
       to.size = len(contents)
       tf.addfile(to, StringIO(contents))